aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/dom_events.js
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/js/dom_events.js
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/js/dom_events.js')
-rw-r--r--src/app/js/dom_events.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/js/dom_events.js b/src/app/js/dom_events.js
index 73e9998..c16a838 100644
--- a/src/app/js/dom_events.js
+++ b/src/app/js/dom_events.js
@@ -27,7 +27,7 @@ document.addEventListener("drop", (e) => {
document.body.addEventListener("keyup", (e) => {
if (e.key == "Escape") {
- Browser.toggle(false);
+ browser.toggle(false);
settings.popup.toggle(false);
}
})