Reset boolean on close function, this fixes #242 and #259

- I have added a false boolean on close function. Basically this boolean is responsible for closing the dropdown or not via closeUnlessMouseIsOverDropdown function.
This commit is contained in:
chris
2013-05-26 14:58:18 +08:00
committed by Jake Harding
parent 5424f42deb
commit 47df4c40a4

View File

@@ -149,6 +149,7 @@ var DropdownView = (function() {
close: function() {
if (this.isOpen) {
this.isOpen = false;
this.isMouseOverDropdown = false;
this._hide();
this.$menu