aboutsummaryrefslogtreecommitdiff
path: root/src/app/index.html
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-01-20 01:58:14 +0100
committer0neGal <mail@0negal.com>2024-01-20 01:58:14 +0100
commitc03ce1dc5b1e320a94ef6307aa4c32132c5bf33c (patch)
tree2bde427830974dbec8b4881801e05cd88138c961 /src/app/index.html
parente2bae48724505c5b09b6bb28f053b8492bd66ba6 (diff)
downloadViper-c03ce1dc5b1e320a94ef6307aa4c32132c5bf33c.tar.gz
Viper-c03ce1dc5b1e320a94ef6307aa4c32132c5bf33c.zip
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.
Diffstat (limited to 'src/app/index.html')
-rw-r--r--src/app/index.html3
1 files changed, 2 insertions, 1 deletions
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 @@
</div>
</div>
- <div id="overlay" onclick="Browser.toggle(false);Settings.toggle(false)"></div>
+ <div id="overlay" onclick="popups.set_all(false)"></div>
<div class="popup" id="options">
<div class="misc">
<div style="width:100%"></div>
@@ -321,6 +321,7 @@
<script src="js/misc.js"></script>
<script src="js/mods.js"></script>
<script src="js/toast.js"></script>
+ <script src="js/popups.js"></script>
<script src="js/tooltip.js"></script>
<script src="js/browser.js"></script>
<script src="js/settings.js"></script>