mirror of
https://github.com/zhigang1992/typeahead.js.git
synced 2026-01-12 22:53:14 +08:00
- 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:
@@ -149,6 +149,7 @@ var DropdownView = (function() {
|
||||
close: function() {
|
||||
if (this.isOpen) {
|
||||
this.isOpen = false;
|
||||
this.isMouseOverDropdown = false;
|
||||
this._hide();
|
||||
|
||||
this.$menu
|
||||
|
||||
Reference in New Issue
Block a user