mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
More formatting tweaks.
This commit is contained in:
parent
34adda3c88
commit
e7787cd098
@ -350,7 +350,7 @@ jQuery.event = {
|
|||||||
|
|
||||||
var cur = elem,
|
var cur = elem,
|
||||||
// IE doesn't like method names with a colon (#3533, #8272)
|
// IE doesn't like method names with a colon (#3533, #8272)
|
||||||
ontype = type.indexOf(":") < 0? "on" + type : "";
|
ontype = type.indexOf(":") < 0 ? "on" + type : "";
|
||||||
|
|
||||||
// Fire event on the current element, then bubble up the DOM tree
|
// Fire event on the current element, then bubble up the DOM tree
|
||||||
do {
|
do {
|
||||||
@ -362,7 +362,7 @@ jQuery.event = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Trigger an inline bound script
|
// Trigger an inline bound script
|
||||||
if ( ontype &&jQuery.acceptData( cur ) && cur[ ontype ] && cur[ ontype ].apply( cur, data ) === false ) {
|
if ( ontype && jQuery.acceptData( cur ) && cur[ ontype ] && cur[ ontype ].apply( cur, data ) === false ) {
|
||||||
event.result = false;
|
event.result = false;
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user