Browse Source

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

ToreOlavKristiansen 8 năm trước cách đây
mục cha
commit
6eee443d67
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
     }
   };