Skip to content

Commit

Permalink
Reset boolean on close function, this fixes #242 and #259
Browse files Browse the repository at this point in the history
- I have added a false boolean on close function. Basically this boolean is responsible for closing the dropdown or not via closeUnlessMouseIsOverDropdown function.
  • Loading branch information
stylenclass authored and Jake Harding committed May 29, 2013
1 parent 5424f42 commit 47df4c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dropdown_view.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ var DropdownView = (function() {
close: function() {
if (this.isOpen) {
this.isOpen = false;
this.isMouseOverDropdown = false;
this._hide();

this.$menu
Expand Down

0 comments on commit 47df4c4

Please # to comment.