summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2024-12-03 21:35:25 +0200
committerWlodekM <[email protected]>2024-12-03 21:35:25 +0200
commit00fbb2c4972b9b3852166803c63f133d955bf81d (patch)
tree4769642762ff867ec32b0be0ad026ddac880da39 /lib
parenta6935a059007b8ca4bf1159fbabe8f2a6a1ee50e (diff)
uh
Diffstat (limited to 'lib')
-rw-r--r--lib/popups.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/popups.js b/lib/popups.js
index 3d7e592..7c52874 100644
--- a/lib/popups.js
+++ b/lib/popups.js
@@ -31,4 +31,8 @@ document.querySelector(".ap-popup-container").addEventListener("click", function
 	if(ev.target != this) return;
     this.classList.add("hidden")
 	console.log("click!", ev)
-})
\ No newline at end of file
+})
+
+export function hide() {
+    document.querySelector(".ap-popup-container").classList.add("hidden")
+}
\ No newline at end of file