Update app/javascript/controllers/bridge/buttons_controller.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Jay Ohms
2026-02-26 08:05:48 -05:00
committed by GitHub
parent 7427675fc8
commit 867267890b
@@ -21,6 +21,8 @@ export default class extends BridgeComponent {
if (this.beforeUnloadHandler) {
window.removeEventListener("beforeunload", this.beforeUnloadHandler)
}
this.notifyBridgeOfDisconnect()
}
buttonTargetConnected() {