diff options
author | 0neGal <mail@0negal.com> | 2024-12-20 18:24:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-20 18:24:40 +0100 |
commit | 4db50da2c75968f8c5ca6804e332da8de401a3e0 (patch) | |
tree | def65ef730f3ef794de06f46a003aa2685997cb0 /src/app/js/dom_events.js | |
parent | 558ef98614b8ad34ba4fb35a8f0b6fe94211f938 (diff) | |
parent | fab59ba8b8b1c567ee158b9681c5b373fb7303e4 (diff) | |
download | Viper-4db50da2c75968f8c5ca6804e332da8de401a3e0.tar.gz Viper-4db50da2c75968f8c5ca6804e332da8de401a3e0.zip |
Merge branch 'main' into PR/onLine-event
Diffstat (limited to 'src/app/js/dom_events.js')
-rw-r--r-- | src/app/js/dom_events.js | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/app/js/dom_events.js b/src/app/js/dom_events.js index ab79c57..490d2ec 100644 --- a/src/app/js/dom_events.js +++ b/src/app/js/dom_events.js @@ -26,12 +26,6 @@ document.addEventListener("drop", (e) => { mods.install_from_path(e.dataTransfer.files[0].path); }) -document.body.addEventListener("keyup", (e) => { - if (e.key == "Escape") { - popups.hide_last(); - } -}) - document.body.addEventListener("click", (e) => { if (e.target.tagName.toLowerCase() === "a" && e.target.protocol != "file:") { |