From d9221f6011aab9355f842b6e001df75b71120960 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Tue, 11 Apr 2017 14:17:14 +0800 Subject: Remove CodeMirror-other-cursors dom creation Since it’s done via hackmdio/CodeMirror#1 --- public/js/index.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'public/js') 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) { - $("
").insertAfter('.CodeMirror-cursors') - } if ($('div[data-clientid="' + user.id + '"]').length <= 0) { let cursor = $('') cursor.attr('data-line', user.cursor.line) -- cgit v1.2.3