修复图片灯箱
This commit is contained in:
1 parent
b1e0f2a1e8
commit
226b734230
2 files changed
+2
-2
No files matched your search
@@ -8,7 +8,7 @@ function isMobile() {
|
||||
}
|
||||
|
||||
// 文章图片灯箱
|
||||
window.ViewImage && ViewImage.init('#writing_content img');
|
||||
window.ViewImage && ViewImage.init('.post-content img');
|
||||
|
||||
//memos图片灯箱
|
||||
window.ViewImage && ViewImage.init('.text img , .memos-photo img , .gallery-thumbnail img');
|
||||
|
||||
@@ -164,7 +164,7 @@ document.addEventListener("pjax:success", function () {
|
||||
showTime: 1100
|
||||
});
|
||||
// 激活文章图片灯箱
|
||||
window.ViewImage && ViewImage.init('#writing_content img,.text img , .memos-photo img , .gallery-thumbnail img');
|
||||
window.ViewImage && ViewImage.init('.post-content img,.text img , .memos-photo img , .gallery-thumbnail img');
|
||||
});
|
||||
// pjax加载完成
|
||||
document.addEventListener("pjax:complete", function () {
|
||||
|
||||
Reference in new issue
Block a user