diff --git a/src/public/app/widgets/type_widgets/attachment_detail.js b/src/public/app/widgets/type_widgets/attachment_detail.js index 15932d63b..108c5da2e 100644 --- a/src/public/app/widgets/type_widgets/attachment_detail.js +++ b/src/public/app/widgets/type_widgets/attachment_detail.js @@ -48,11 +48,12 @@ export default class AttachmentDetailTypeWidget extends TypeWidget { this.$wrapper.empty(); this.children = []; - const $helpButton = $( - '' - ); + const $helpButton = $(` + ' - ); + const $helpButton = $(` + + `); utils.initHelpButtons($helpButton); const noteLink = await linkService.createLink(this.noteId); // do separately to avoid race condition between empty() and .append() @@ -52,7 +53,7 @@ export default class AttachmentListTypeWidget extends TypeWidget { this.$linksWrapper.empty().append( $("
").append(t("attachment_list.owning_note"), noteLink), - $("
").append( + $(`
`).append( $('