blur logic

This commit is contained in:
Devaev Maxim
2018-11-27 17:32:36 +03:00
parent 8c3f604e4a
commit 2cea16a978
3 changed files with 23 additions and 3 deletions

View File

@@ -38,8 +38,8 @@ function Hid() {
);
}
window.onpagehide = __releaseAll;
window.onblur = __releaseAll;
window.addEventListener("pagehide", __releaseAll);
window.addEventListener("blur", __releaseAll);
__chars_to_codes = __buildCharsToCodes();