Skip to content

Commit 09822c5

Browse files
committed
fix(pat-push): Fix form submits not working with pat-inject.
1 parent 59bbe4d commit 09822c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pat/push/push.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export default Base.extend({
4141
if (this.options.mode === "desktop-notification") {
4242
this.desktop_notification();
4343
} else if (this.el.tagName === "FORM") {
44-
this.el.submit();
44+
this.el.dispatchEvent(events.submit_event());
4545
} else {
4646
this.perform_inject();
4747
}

0 commit comments

Comments
 (0)