]> git.mxchange.org Git - friendica.git/commitdiff
Update view/js/dropzone-factory.js
authorRaroun <Raroun@users.noreply.github.com>
Fri, 5 May 2023 18:22:37 +0000 (20:22 +0200)
committerGitHub <noreply@github.com>
Fri, 5 May 2023 18:22:37 +0000 (20:22 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
view/js/dropzone-factory.js

index e0f8e4725300b6c8668e454af9406aa4f9815d4f..160024ed0a34106970e770228f3069e342e47782 100644 (file)
@@ -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) {