We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59bbe4d commit 09822c5Copy full SHA for 09822c5
src/pat/push/push.js
@@ -41,7 +41,7 @@ export default Base.extend({
41
if (this.options.mode === "desktop-notification") {
42
this.desktop_notification();
43
} else if (this.el.tagName === "FORM") {
44
- this.el.submit();
+ this.el.dispatchEvent(events.submit_event());
45
} else {
46
this.perform_inject();
47
}
0 commit comments