diff options
Diffstat (limited to '')
-rw-r--r-- | web_src/js/features/repo-legacy.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/js/features/repo-legacy.js b/web_src/js/features/repo-legacy.js index 11bb758187..33d8ab2918 100644 --- a/web_src/js/features/repo-legacy.js +++ b/web_src/js/features/repo-legacy.js @@ -436,7 +436,7 @@ async function onEditContent(event) { const $content = $segment; if (!$content.find('.dropzone-attachments').length) { if (data.attachments !== '') { - $content[0].append(data.attachments); + $content[0].insertAdjacentHTML('beforeend', data.attachments); } } else if (data.attachments === '') { $content.find('.dropzone-attachments').remove(); |