aboutsummaryrefslogtreecommitdiff
path: root/src/app/js/dom_events.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/js/dom_events.js')
-rw-r--r--src/app/js/dom_events.js4
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();
}
})