mirror of
https://github.com/friendica/friendica
synced 2024-11-18 02:23:40 +00:00
Update view/js/dropzone-factory.js
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
ad127f4739
commit
789ae23ce5
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ var DzFactory = function (max_imagesize) {
|
||||||
targetTextarea.setRangeText(' ' + serverResponse + ' ');
|
targetTextarea.setRangeText(' ' + serverResponse + ' ');
|
||||||
} else {
|
} else {
|
||||||
targetTextarea.focus();
|
targetTextarea.focus();
|
||||||
document.execCommand('insertText', false /*no UI*/, '\n' + serverResponse + '\n');
|
document.execCommand('insertText', false /*no UI*/, serverResponse);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
this.on('complete', function(file) {
|
this.on('complete', function(file) {
|
||||||
|
|
Loading…
Reference in a new issue