Skip to content
Permalink
Browse files

More formatting tweaks.

  • Loading branch information...
jeresig committed Apr 12, 2011
1 parent 34adda3 commit e7787cd09805583ff690d9c5e4b4c58a88393bf9
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/event.js
@@ -350,7 +350,7 @@ jQuery.event = {

var cur = elem,
// 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
do {
@@ -362,7 +362,7 @@ jQuery.event = {
}

// 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.preventDefault();
}

0 comments on commit e7787cd

Please sign in to comment.
You can’t perform that action at this time.