Parcourir la source

Update base.js (#5357)

Pedro Felipe de Azevedo Furtado il y a 6 ans
Parent
commit
8bc269d63e
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  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);
     });