mirror of
https://github.com/friendica/friendica
synced 2025-01-19 12:19:46 +00:00
Update view/js/dropzone-factory.js
accept suggestion Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
f55ed01fb5
commit
61e0a2a0f4
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ var DzFactory = function (max_imagesize) {
|
|||
accept: function(file, done) {
|
||||
const targetTextarea = document.getElementById(textareaElementId);
|
||||
if (targetTextarea.setRangeText) {
|
||||
targetTextarea.setRangeText("\n[upload-"+file.name+"]\n",targetTextarea.selectionStart,targetTextarea.selectionEnd,"end");
|
||||
targetTextarea.setRangeText("\n[upload-" + file.name + "]\n", targetTextarea.selectionStart, targetTextarea.selectionEnd, "end");
|
||||
}
|
||||
done();
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue