summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2018-08-01 15:27:32 +0300
committerDevaev Maxim <[email protected]>2018-08-01 15:27:32 +0300
commitcb8e5efbc74343a932a712444c5d7f017094cbe2 (patch)
treea22db341b8063cb48dfa743b8820bda1f2a5ca1a
parent1424596b5b32203538214e6505e618ab449959cc (diff)
eq fix
-rw-r--r--kvmd/web/js/ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/web/js/ui.js b/kvmd/web/js/ui.js
index 06622895..6cf131d9 100644
--- a/kvmd/web/js/ui.js
+++ b/kvmd/web/js/ui.js
@@ -110,7 +110,7 @@ var ui = new function() {
__raiseLastWindow();
} else {
document.onkeyup = function(event) {
- if (event.code == "Escape") {
+ if (event.code === "Escape") {
event.preventDefault();
__closeAllMenues();
__raiseLastWindow();