Fix in firefox other client's cursor might disappear or move out of bound
This commit is contained in:
parent
f32dee3796
commit
ee3c6b5485
2 changed files with 2 additions and 2 deletions
2
public/vendor/ot/codemirror-adapter.js
vendored
2
public/vendor/ot/codemirror-adapter.js
vendored
|
@ -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);
|
||||
}
|
||||
|
|
2
public/vendor/ot/ot.min.js
vendored
2
public/vendor/ot/ot.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue