[DE PE SSE] Fix prevent for alt + f4

This commit is contained in:
JuliaSvinareva 2021-12-20 12:28:36 +03:00
parent a9f740f91a
commit f58f86df86

View file

@ -567,9 +567,9 @@ Common.UI.HintManager = new(function() {
}
}
var isAlt = e.keyCode == Common.UI.Keys.ALT;
var isAlt = e.altKey;
_needShow = (isAlt && !Common.Utils.ModalWindow.isVisible() && _isDocReady && _arrAlphabet.length > 0);
if (isAlt) {
if (isAlt && e.keyCode !== 115) {
e.preventDefault();
}
});