Merge pull request #1530 from ONLYOFFICE/fix/fix-bugs

[DE PE SSE] Fix bug 55173
This commit is contained in:
Julia Radzhabova 2022-02-03 20:08:37 +03:00 committed by GitHub
commit 4f4c02aefa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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