mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
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++) {
|
for (var i = 0; i < selection.ranges.length; i++) {
|
||||||
var range = selection.ranges[i];
|
var range = selection.ranges[i];
|
||||||
if (range.isEmpty()) {
|
if (range.isEmpty()) {
|
||||||
selectionObjects[i] = this.setOtherCursor(range.head, color, clientId);
|
//selectionObjects[i] = this.setOtherCursor(range.head, color, clientId);
|
||||||
} else {
|
} else {
|
||||||
selectionObjects[i] = this.setOtherSelectionRange(range, color, clientId);
|
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