Skip to content

Commit

Permalink
fix(core js): wtf just happened to my curly braces???
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflos committed Aug 1, 2024
1 parent 139467b commit 4d3d6aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion javascripts/yeswiki-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function toastMessage(
$modal
.find('.modal-body')
.html(
`<img loading="lazy" class="center-block img-responsive" src="${link}" alt="" />`,
`<img loading="lazy" class="center-block img-responsive" src="${link}" alt="" />`
)
} else if (iframe === 1) {
const modalTitle = $modal.find('.modal-header h3')
Expand Down Expand Up @@ -921,3 +921,4 @@ $('#yw-a11y-jump-content').click(() => {
setTimeout(() => {
$('#yw-topnav').removeClass('nav-down').addClass('nav-up')
}, 300)
})

0 comments on commit 4d3d6aa

Please sign in to comment.