[DE PE] Fix bug 53810

This commit is contained in:
JuliaSvinareva 2021-11-29 18:09:23 +03:00
parent 6ccf918c26
commit 97c43902d3

View file

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