From 00fbb2c4972b9b3852166803c63f133d955bf81d Mon Sep 17 00:00:00 2001 From: WlodekM Date: Tue, 3 Dec 2024 21:35:25 +0200 Subject: uh --- lib/popups.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') 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 -- cgit 1.4.1-2-gfad0