Skip to content

Commit 5a0ac24

Browse files
committed
Make sure that submit event is still bound for regular form submit events. Thanks to Mark Gibson for the fix suggestion.
1 parent d6d5ed4 commit 5a0ac24

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/event.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -604,6 +604,9 @@ jQuery.event.special.submit = {
604604
return trigger( "submit", this, arguments );
605605
}
606606
});
607+
608+
} else {
609+
return false;
607610
}
608611
},
609612

0 commit comments

Comments
 (0)