Commit 24539c9
committed
Improve handling of submit buttons when determining when to preventDefault to avoid navigation.
Only preventDefault on click events of submit buttons, not *all* events. I want to remove
handling of submit buttons altogether (letting the form submit event be prevented, instead),
but fear that this line was put in here to solve a specific case in some buggy browser.1 parent 1b6d0c3 commit 24539c9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
0 commit comments