summaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 81c24ebc..0ca6827b 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2466,9 +2466,6 @@ function buildCursor (user) {
iconClass = 'fa-desktop'
break
}
- if ($('.CodeMirror-other-cursors').length <= 0) {
- $("<div class='CodeMirror-other-cursors'>").insertAfter('.CodeMirror-cursors')
- }
if ($('div[data-clientid="' + user.id + '"]').length <= 0) {
let cursor = $('<div data-clientid="' + user.id + '" class="CodeMirror-other-cursor" style="display:none;"></div>')
cursor.attr('data-line', user.cursor.line)