Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Fix] Error on deselecting last cup in project 16 #49

Merged
merged 1 commit into from
Mar 8, 2021

Conversation

rbajaj1997
Copy link
Contributor

In 16- Drink Water Project deselecting the 8th cup i.e. the last cup throws an error as it does not has nextElementSibling with small-cup class. Adding an else if condition fixes this.

@bradtraversy bradtraversy merged commit 4dd2f9d into bradtraversy:master Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants