Skip to content

Commit 4f27505

Browse files
authored
Merge pull request #3576 from AlchemyCMS/fix-publish-button
fix(publish-button): Remove duplicated submit event handler
2 parents 3ffd45c + ad7c2ad commit 4f27505

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/javascript/alchemy_admin/components/publish_page_button.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class PublishPageButton extends HTMLElement {
66

77
connectedCallback() {
88
document.addEventListener("alchemy:page-dirty", this)
9-
document.addEventListener("submit", this)
109
}
1110

1211
disconnectedCallback() {

0 commit comments

Comments
 (0)