ソースを参照

trigger "focus" event in focus function make chrome error:
"Uncaught RangeError: Maximum call stack size exceeded"

ZhongYou 12 年 前
コミット
6a58e99285
1 ファイル変更1 行追加1 行削除
  1. 1 1
      select2.js

+ 1 - 1
select2.js

@@ -2297,7 +2297,7 @@ the specific language governing permissions and limitations under the Apache Lic
         focus: function () {
             this.close();
             this.search.focus();
-            this.opts.element.triggerHandler("focus");
+            //this.opts.element.triggerHandler("focus");
         },
 
         // multi