From 6a58e992859f418266bb0cdbe36a049967b66eb4 Mon Sep 17 00:00:00 2001 From: ZhongYou Date: Tue, 19 Mar 2013 18:01:12 +0800 Subject: [PATCH] trigger "focus" event in focus function make chrome error: "Uncaught RangeError: Maximum call stack size exceeded" --- select2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/select2.js b/select2.js index 8d295c7b..ac542afc 100644 --- a/select2.js +++ b/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