Update view/js/dropzone-factory.js

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Raroun 2023-05-05 20:22:37 +02:00 committed by GitHub
parent ad127f4739
commit 789ae23ce5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View 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) {