Commit d29a6cd2 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix crash on update cursor

parent dd87ff43
......@@ -1597,7 +1597,7 @@
var b = this.input.selectionStart;
var e = this.input.selectionEnd;
if (typeof b !== "undefined") {
if (this.cursorPos !== b || this.selectionBegin !== t.selectionEnd) {
if (this.cursorPos !== b || this.selectionBegin !== this.selectionEnd) {
this._moveCursor(kPosition, b);
}
if (b !== e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment