[DE PE SSE] Fix bug 55356

This commit is contained in:
JuliaSvinareva 2022-02-04 20:08:37 +03:00
parent 041354c5da
commit 95291a2e06

View file

@ -471,7 +471,9 @@ Common.UI.HintManager = new(function() {
match = false;
var keyCode = e.keyCode;
if (keyCode !== 16 && keyCode !== 17 && keyCode !== 18 && keyCode !== 91) {
curLetter = _lang === 'en' ? ((keyCode > 47 && keyCode < 58 || keyCode > 64 && keyCode < 91) ? String.fromCharCode(e.keyCode) : null) : e.key;
curLetter = _lang === 'en' ?
((keyCode > 47 && keyCode < 58 || keyCode > 64 && keyCode < 91) ? String.fromCharCode(e.keyCode) : null) :
(/[.*+?^${}()|[\]\\]/g.test(e.key) ? null : e.key);
}
if (curLetter) {
var curr;