We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 226231e commit bf34723Copy full SHA for bf34723
web_src/js/features/repo-legacy.js
@@ -436,7 +436,7 @@ async function onEditContent(event) {
436
const $content = $segment;
437
if (!$content.find('.dropzone-attachments').length) {
438
if (data.attachments !== '') {
439
- $content[0].append(data.attachments);
+ $content[0].insertAdjacentHTML('beforeend', data.attachments);
440
}
441
} else if (data.attachments === '') {
442
$content.find('.dropzone-attachments').remove();
0 commit comments