Update view/js/dropzone-factory.js
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
ad127f4739
commit
789ae23ce5
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue