diff options
Diffstat (limited to 'assets/js/app.js')
-rw-r--r-- | assets/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/assets/js/app.js b/assets/js/app.js index 3d4ea2a..a884e88 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -41,4 +41,7 @@ liveSocket.connect() // >> liveSocket.enableDebug() // >> liveSocket.enableLatencySim(1000) // enabled for duration of browser session // >> liveSocket.disableLatencySim() -window.liveSocket = liveSocket
\ No newline at end of file +window.liveSocket = liveSocket + +// Hack to remove alerts on click +Array.from(window.document.getElementsByClassName('alert')).forEach((x) => x.addEventListener('click', () => x.style.display = "none"))
\ No newline at end of file |