aboutsummaryrefslogtreecommitdiff
path: root/src/app/index.html
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2024-06-08 20:17:48 +0200
committer0neGal <mail@0negal.com>2024-06-08 20:18:05 +0200
commit957f2d2ff52c9917960c4c8d55eab3b44f0453bb (patch)
treece198d42ea04c1ef11aa858f65d2ee8b7c6a961a /src/app/index.html
parentd4d95da09a04cc8b07fbcf6e179f4edb5e662b98 (diff)
downloadViper-957f2d2ff52c9917960c4c8d55eab3b44f0453bb.tar.gz
Viper-957f2d2ff52c9917960c4c8d55eab3b44f0453bb.zip
convert js/browser.js to a CommonJS module
And `js/popups.js`, but it was already technically a CommonJS module, it was just leftover in `index.html` due to `js/browser.js` not being a CommonJS module.
Diffstat (limited to 'src/app/index.html')
-rw-r--r--src/app/index.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/app/index.html b/src/app/index.html
index a591a26..ffc13de 100644
--- a/src/app/index.html
+++ b/src/app/index.html
@@ -205,10 +205,10 @@
<div class="misc">
<input class="search" placeholder="%%gui.search%%">
- <button id="filter" onclick="Browser.filters.toggle()">
+ <button id="filter" onclick="browser.filters.toggle()">
<img src="icons/filter.png">
</button>
- <button id="close" onclick="Browser.toggle(false)">
+ <button id="close" onclick="browser.toggle(false)">
<img src="icons/close.png">
</button>
</div>
@@ -218,7 +218,7 @@
</div>
<div class="popup small blur" id="preview">
<div class="misc fixed vertical">
- <button id="close" onclick="Preview.hide()">
+ <button id="close" onclick="browser.preview.hide()">
<img src="icons/close.png">
</button>
<button id="external" onclick="">
@@ -302,7 +302,7 @@
<img src="icons/downloads.png">
%%gui.mods.install%%
</button>
- <button id="findmod" class="bg-blue2" onclick="Browser.toggle(true)">
+ <button id="findmod" class="bg-blue2" onclick="browser.toggle(true)">
<img src="icons/search.png">
%%gui.mods.find%%
</button>
@@ -333,7 +333,5 @@
</div>
<script src="main.js"></script>
- <script src="js/popups.js"></script>
- <script src="js/browser.js"></script>
</body>
</html>