Skip to content

Commit ee3c6b5

Browse files
committed
Fix in firefox other client's cursor might disappear or move out of bound
1 parent f32dee3 commit ee3c6b5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

public/vendor/ot/codemirror-adapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ ot.CodeMirrorAdapter = (function (global) {
320320
for (var i = 0; i < selection.ranges.length; i++) {
321321
var range = selection.ranges[i];
322322
if (range.isEmpty()) {
323-
selectionObjects[i] = this.setOtherCursor(range.head, color, clientId);
323+
//selectionObjects[i] = this.setOtherCursor(range.head, color, clientId);
324324
} else {
325325
selectionObjects[i] = this.setOtherSelectionRange(range, color, clientId);
326326
}

0 commit comments

Comments
 (0)