diff options
author | 0neGal <mail@0negal.com> | 2024-06-15 23:34:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-15 23:34:53 +0200 |
commit | 938362cc27682f976cfbe16d7c4f898485e893c4 (patch) | |
tree | 1774a947415b34ffe06a033f6df15583361dd004 /src/app/js/dom_events.js | |
parent | 5f3259f5b62609e57468592dfaf7b1bd9b6f0bad (diff) | |
parent | 6538b818302829f917fa636aa4d5678466841705 (diff) | |
download | Viper-938362cc27682f976cfbe16d7c4f898485e893c4.tar.gz Viper-938362cc27682f976cfbe16d7c4f898485e893c4.zip |
Merge branch 'main' into gamepad-support
Diffstat (limited to 'src/app/js/dom_events.js')
-rw-r--r-- | src/app/js/dom_events.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/app/js/dom_events.js b/src/app/js/dom_events.js index c16a838..ab79c57 100644 --- a/src/app/js/dom_events.js +++ b/src/app/js/dom_events.js @@ -1,3 +1,4 @@ +const popups = require("./popups"); const settings = require("./settings"); let drag_timer; @@ -27,8 +28,7 @@ document.addEventListener("drop", (e) => { document.body.addEventListener("keyup", (e) => { if (e.key == "Escape") { - browser.toggle(false); - settings.popup.toggle(false); + popups.hide_last(); } }) |