Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Selectize.defaults = {
onInitialize : null, // function() { ... }
onChange : null, // function(value) { ... }
onItemAdd : null, // function(value, $item) { ... }
onItemRemove : null, // function(value) { ... }
onItemRemove : null, // function(value, $item) { ... }
onClear : null, // function() { ... }
onOptionAdd : null, // function(value, data) { ... }
onOptionRemove : null, // function(value) { ... }
Expand Down
11 changes: 8 additions & 3 deletions src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,11 @@ $.extend(Selectize.prototype, {
}
});
$window.on('mousemove' + eventNS, function() {
self.ignoreHover = false;
if (self.settings.ignoreHover) {
self.ignoreHover = true;
} else {
self.ignoreHover = false;
}
});

// store original children and tab index so that they can be
Expand Down Expand Up @@ -1054,7 +1058,8 @@ $.extend(Selectize.prototype, {
fields : settings.searchField,
conjunction : settings.searchConjunction,
sort : sort,
nesting : settings.nesting
nesting : settings.nesting,
filter : settings.filter
};
},

Expand Down Expand Up @@ -1425,7 +1430,7 @@ $.extend(Selectize.prototype, {
},

/**
* Clears all options.
* Clears all options. This includes clearing all selected items.
*
* @param {boolean} silent
*/
Expand Down