Skip to content

Commit

Permalink
a demonstration of how you fix other people's bad code
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascrockford committed Apr 16, 2012
1 parent 6506ede commit 0ad15be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/bootstrap-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

isActive = $parent.hasClass('open')

clearMenus()
clearMenus();
!isActive && $parent.toggleClass('open')

return false
Expand Down

0 comments on commit 0ad15be

Please sign in to comment.