From 61e0a2a0f4e2ac2c09722c920b7cb13495f8b455 Mon Sep 17 00:00:00 2001 From: xundeenergie Date: Sat, 11 Jan 2025 18:21:33 +0100 Subject: [PATCH] Update view/js/dropzone-factory.js accept suggestion Co-authored-by: Hypolite Petovan --- view/js/dropzone-factory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); },