Skip to content

Commit

Permalink
Don't break "options" reference in clearOptions().
Browse files Browse the repository at this point in the history
  • Loading branch information
brianreavis committed Aug 18, 2013
1 parent 04eca60 commit 036713a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/js/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1539,7 +1539,7 @@

self.loadedSearches = {};
self.userOptions = {};
self.options = {};
self.options = self.sifter.items = {};
self.lastQuery = null;
self.trigger('option_clear');
self.clear();
Expand Down
2 changes: 1 addition & 1 deletion dist/js/selectize.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/standalone/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1843,7 +1843,7 @@

self.loadedSearches = {};
self.userOptions = {};
self.options = {};
self.options = self.sifter.items = {};
self.lastQuery = null;
self.trigger('option_clear');
self.clear();
Expand Down
2 changes: 1 addition & 1 deletion dist/js/standalone/selectize.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/selectize.js
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,7 @@ $.extend(Selectize.prototype, {

self.loadedSearches = {};
self.userOptions = {};
self.options = {};
self.options = self.sifter.items = {};
self.lastQuery = null;
self.trigger('option_clear');
self.clear();
Expand Down

0 comments on commit 036713a

Please sign in to comment.