summaryrefslogtreecommitdiff
path: root/assets/js
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-04-14 00:18:01 -0600
committerLogan Hunt <loganhunt@simponic.xyz>2022-04-14 00:18:01 -0600
commitddfab312f73a3f3e15ceb6fec7d350500adb53d6 (patch)
tree9cb6db148a93f21d320538ecc0a523aff8907244 /assets/js
parent43f225e181ec370dfa7de1b2dc9f18d9eec31be8 (diff)
downloadaggiedit-ddfab312f73a3f3e15ceb6fec7d350500adb53d6.tar.gz
aggiedit-ddfab312f73a3f3e15ceb6fec7d350500adb53d6.zip
Update UI
Diffstat (limited to 'assets/js')
-rw-r--r--assets/js/app.js5
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