🌐 AI搜索 & 代理 主页
Skip to content

Commit ca7626a

Browse files
author
alexr101
committed
Event: Added rcheckable to click.trigger function
1 parent 20bd0ef commit ca7626a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/event.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ define( [
88
"./data/var/dataPriv",
99
"./core/init",
1010
"./selector"
11-
], function( jQuery, document, documentElement, rnothtmlwhite, slice, dataPriv, rcheckableType ) {
11+
], function( jQuery, document, documentElement, rnothtmlwhite, rcheckableType, slice, dataPriv ) {
1212

1313
"use strict";
1414

@@ -479,7 +479,6 @@ jQuery.event = {
479479
if ( rcheckableType.test( this.type ) &&
480480
this.click && jQuery.nodeName( this, "input" ) ) {
481481
this.click();
482-
483482
return false;
484483
}
485484
},

src/manipulation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ define( [
22
"./core",
33
"./var/concat",
44
"./var/push",
5+
"./var/rcheckableType",
56
"./core/access",
6-
"./manipulation/var/rcheckableType",
77
"./manipulation/var/rtagName",
88
"./manipulation/var/rscriptType",
99
"./manipulation/wrapMap",

0 commit comments

Comments
 (0)