[DE] Fix Bug 47398

This commit is contained in:
Julia Radzhabova 2020-11-21 15:04:44 +03:00
parent 7fc798e5ce
commit 359b3fcbef

View file

@ -430,7 +430,7 @@ define([
}, 0);
}
} else if (key === 'Backspace') {
if ((event.target.selectionStart === event.target.selectionEnd && event.target.selectionStart < me.positionCaption + 1) || event.target.selectionStart < me.positionCaption - 1) {
if ((event.target.selectionStart === event.target.selectionEnd && event.target.selectionStart < me.positionCaption + 1) || event.target.selectionStart < me.positionCaption) {
event.preventDefault();
}
} else if (key === 'Delete') {