diff options
author | WlodekM <[email protected]> | 2024-12-03 21:35:25 +0200 |
---|---|---|
committer | WlodekM <[email protected]> | 2024-12-03 21:35:25 +0200 |
commit | 00fbb2c4972b9b3852166803c63f133d955bf81d (patch) | |
tree | 4769642762ff867ec32b0be0ad026ddac880da39 /lib/popups.js | |
parent | a6935a059007b8ca4bf1159fbabe8f2a6a1ee50e (diff) |
uh
Diffstat (limited to 'lib/popups.js')
-rw-r--r-- | lib/popups.js | 6 |
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 |