Explorar o código

Update base.js (#5357)

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