diff --git a/select2.js b/select2.js index 6ab586fd..e02fa8c1 100755 --- a/select2.js +++ b/select2.js @@ -1215,7 +1215,7 @@ }, isFocused: function () { - return this.search.is(":focus"); + return this.search.hasClass("select2-focused"); }, updateSelection: function (data) {