1
0
mirror of synced 2025-02-04 14:19:23 +03:00

trigger "focus" event in focus function make chrome error:

"Uncaught RangeError: Maximum call stack size exceeded"
This commit is contained in:
ZhongYou 2013-03-19 18:01:12 +08:00
parent 6a29e594b6
commit 6a58e99285

View File

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