From c03ce1dc5b1e320a94ef6307aa4c32132c5bf33c Mon Sep 17 00:00:00 2001 From: 0neGal Date: Sat, 20 Jan 2024 01:58:14 +0100 Subject: added src/app/js/popups.js This makes opening and closing popups a little bit easier, on top of it, it also fixes a bug where you could open the settings popup on top of the browser popup or other popups, and it'd hide the background blur, but still show both popups. --- src/app/index.html | 3 ++- src/app/js/browser.js | 22 +++++----------------- src/app/js/popups.js | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/app/js/settings.js | 17 +++++------------ 4 files changed, 63 insertions(+), 30 deletions(-) create mode 100644 src/app/js/popups.js diff --git a/src/app/index.html b/src/app/index.html index 810c205..ffb8699 100644 --- a/src/app/index.html +++ b/src/app/index.html @@ -30,7 +30,7 @@ -
+