Skip to content
Permalink
Browse files

Make sure that submit event is still bound for regular form submit ev…

…ents. Thanks to Mark Gibson for the fix suggestion.
  • Loading branch information
jeresig committed Jan 11, 2010
1 parent d6d5ed4 commit 5a0ac24e35c07fe4be22df828e6b909fe65237b9
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/event.js
@@ -604,6 +604,9 @@ jQuery.event.special.submit = {
return trigger( "submit", this, arguments );
}
});

} else {
return false;
}
},

0 comments on commit 5a0ac24

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