Fix in firefox other client's cursor might disappear or move out of bound

This commit is contained in:
Cheng-Han, Wu 2016-06-01 14:38:59 +08:00
parent f32dee3796
commit ee3c6b5485
2 changed files with 2 additions and 2 deletions

View file

@ -320,7 +320,7 @@ ot.CodeMirrorAdapter = (function (global) {
for (var i = 0; i < selection.ranges.length; i++) {
var range = selection.ranges[i];
if (range.isEmpty()) {
selectionObjects[i] = this.setOtherCursor(range.head, color, clientId);
//selectionObjects[i] = this.setOtherCursor(range.head, color, clientId);
} else {
selectionObjects[i] = this.setOtherSelectionRange(range, color, clientId);
}

File diff suppressed because one or more lines are too long