Explorar o código

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

ToreOlavKristiansen %!s(int64=8) %!d(string=hai) anos
pai
achega
6eee443d67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
     }
   };