From: Raroun Date: Fri, 5 May 2023 18:22:37 +0000 (+0200) Subject: Update view/js/dropzone-factory.js X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=789ae23ce596a04e835788e7b11f5f1fa8d9bca6;p=friendica.git Update view/js/dropzone-factory.js Co-authored-by: Hypolite Petovan --- diff --git a/view/js/dropzone-factory.js b/view/js/dropzone-factory.js index e0f8e47253..160024ed0a 100644 --- a/view/js/dropzone-factory.js +++ b/view/js/dropzone-factory.js @@ -29,7 +29,7 @@ var DzFactory = function (max_imagesize) { targetTextarea.setRangeText(' ' + serverResponse + ' '); } else { targetTextarea.focus(); - document.execCommand('insertText', false /*no UI*/, '\n' + serverResponse + '\n'); + document.execCommand('insertText', false /*no UI*/, serverResponse); } }); this.on('complete', function(file) {