diff --git a/source/js/main.js b/source/js/main.js index 98e63f6..6f08ed9 100644 --- a/source/js/main.js +++ b/source/js/main.js @@ -9,13 +9,13 @@ // 对于已经包含在链接内的图片不适用lightGallery if ($(this).parent().prop("tagName") !== 'A') { - $(this).wrap(''); + $(this).wrap(''); } }); }); if (typeof lightGallery != 'undefined') { var options = { - selector: '.gallery-item', + selector: '.gallery-item' }; $('.article-entry').each(function(i, entry) { lightGallery(entry, options);