This commit is contained in:
haoouba
2021-02-05 22:00:10 +08:00
parent 1144a882e2
commit c36238dff6
5 changed files with 38 additions and 14 deletions

View File

@@ -52,7 +52,7 @@ document.addEventListener('DOMContentLoaded', () => {
/* 激活图片预览功能 */
{
$('.joe_detail__article img:not(img.owo_image)').each(function () {
$(this).wrap($(`<div data-fancybox="Joe" href="${$(this).attr('src')}"></div>`));
$(this).wrap($(`<span data-fancybox="Joe" href="${$(this).attr('src')}"></span>`));
});
}