aboutsummaryrefslogtreecommitdiff
path: root/src/js/even.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/even.js')
-rw-r--r--src/js/even.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/even.js b/src/js/even.js
index 6aef540..4ebe165 100644
--- a/src/js/even.js
+++ b/src/js/even.js
@@ -112,7 +112,7 @@ Even.toc = function () {
Even.fancybox = function () {
if ($.fancybox) {
- $('.post').each(function () {
+ $('.post-content').each(function () {
$(this).find('img').each(function () {
$(this).wrap(`<a class="fancybox" href="${this.src}" data-fancybox="gallery" data-caption="${this.title}"></a>`)
})