Skip to content

Commit

Permalink
Fixes #3503: Changes the event triggers order to prevent the 'open' e…
Browse files Browse the repository at this point in the history
…vent from firing twice
  • Loading branch information
Ryan Dale committed Jun 21, 2015
1 parent 19c87d3 commit 2acf9f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/select2/core.js
Expand Up @@ -394,9 +394,9 @@ define([
return;
}

this.trigger('query', {});

this.trigger('open');

this.trigger('query', {});
};

Select2.prototype.close = function () {
Expand Down

0 comments on commit 2acf9f3

Please sign in to comment.