diff --git a/view/js/dropzone-factory.js b/view/js/dropzone-factory.js index 73e2c4300a..b846762b6d 100644 --- a/view/js/dropzone-factory.js +++ b/view/js/dropzone-factory.js @@ -25,7 +25,7 @@ var DzFactory = function (max_imagesize) { accept: function(file, done) { const targetTextarea = document.getElementById(textareaElementId); if (targetTextarea.setRangeText) { - targetTextarea.setRangeText("\n[upload-"+file.name+"]\n",targetTextarea.selectionStart,targetTextarea.selectionEnd,"end"); + targetTextarea.setRangeText("\n[upload-" + file.name + "]\n", targetTextarea.selectionStart, targetTextarea.selectionEnd, "end"); } done(); },