Selaa lähdekoodia

Update base.js (#5357)

Pedro Felipe de Azevedo Furtado 6 vuotta sitten
vanhempi
commit
8bc269d63e
1 muutettua tiedostoa jossa 1 lisäystä ja 4 poistoa
  1. 1 4
      src/js/select2/selection/base.js

+ 1 - 4
src/js/select2/selection/base.js

@@ -82,10 +82,7 @@ define([
       self.$selection.removeAttr('aria-owns');
 
       self.$selection.focus();
-      window.setTimeout(function () {
-        self.$selection.focus();
-      }, 0);
-
+    
       self._detachCloseHandler(container);
     });