Update app/javascript/controllers/bridge/buttons_controller.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -21,6 +21,8 @@ export default class extends BridgeComponent {
|
||||
if (this.beforeUnloadHandler) {
|
||||
window.removeEventListener("beforeunload", this.beforeUnloadHandler)
|
||||
}
|
||||
|
||||
this.notifyBridgeOfDisconnect()
|
||||
}
|
||||
|
||||
buttonTargetConnected() {
|
||||
|
||||
Reference in New Issue
Block a user