Преглед изворни кода

Fixes IE11 issue with select loosing focus having selected an item.

ToreOlavKristiansen пре 8 година
родитељ
комит
6eee443d67
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/js/select2/selection/search.js

+ 1 - 1
src/js/select2/selection/search.js

@@ -175,7 +175,7 @@ define([
 
     this.resizeSearch();
     if (searchHadFocus) {
-      this.$search.focus();
+      this.$element.focus();
     }
   };