Commit e7787cd0 authored by John Resig's avatar John Resig

More formatting tweaks.

parent 34adda3c
...@@ -350,7 +350,7 @@ jQuery.event = { ...@@ -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 = { ...@@ -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();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment