summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/common/client.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/common/client.js b/public/common/client.js
index ef6e6df..9bbb74f 100644
--- a/public/common/client.js
+++ b/public/common/client.js
@@ -372,6 +372,10 @@ window.addEventListener("keyup", (evt) => {
document.querySelector("body").classList.remove("shift")
})
+window.addEventListener("blur", function (evt) {
+ document.querySelector("body").classList.remove("shift")
+})
+
/* REMATCH BUTTON */
function add_icon_button(where, id, img, fn) {