From 494b44e2b183648ceb3e353ae30f144fd546e188 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 14 Jun 2017 10:04:54 +0200 Subject: [PATCH] fix lint errors --- www/slide/main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/www/slide/main.js b/www/slide/main.js index d0299ff6d..f1870eead 100644 --- a/www/slide/main.js +++ b/www/slide/main.js @@ -531,16 +531,16 @@ define([ }; var cursor = editor.coordsChar(obj); */ - var cursor = editor.getCursor(); + //var cursor = editor.getCursor(); var cleanName = data.name.replace(/[\[\]]/g, ''); var text = '['+cleanName+']('+data.url+')'; if (data.mediatag) { - var text = '!['+cleanName+']('+data.url+')'; + text = '!'+text; } editor.replaceSelection(text); } }; - var FM = Cryptpad.createFileManager(fmConfig); + Cryptpad.createFileManager(fmConfig); }; config.onRemote = function () {