summaryrefslogtreecommitdiff
path: root/public/vendor/ot/codemirror-adapter.js
diff options
context:
space:
mode:
authorCheng-Han, Wu2016-06-01 14:38:59 +0800
committerCheng-Han, Wu2016-06-01 14:38:59 +0800
commitee3c6b5485698e39c011a9aec546568e4e8b6f79 (patch)
treed037f9deb641d5a8970b3bb23ebf66d563f7ffb1 /public/vendor/ot/codemirror-adapter.js
parentf32dee3796777b71333b4020535e789352900b82 (diff)
Fix in firefox other client's cursor might disappear or move out of bound
Diffstat (limited to 'public/vendor/ot/codemirror-adapter.js')
-rwxr-xr-xpublic/vendor/ot/codemirror-adapter.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/vendor/ot/codemirror-adapter.js b/public/vendor/ot/codemirror-adapter.js
index c1601f22..beff98c6 100755
--- a/public/vendor/ot/codemirror-adapter.js
+++ b/public/vendor/ot/codemirror-adapter.js
@@ -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);
}