From 9c17183e410f1b81a28e0d981341b7d409f9a4d5 Mon Sep 17 00:00:00 2001 From: czaks Date: Sun, 29 Dec 2013 20:41:56 +0100 Subject: [PATCH] hide-images.js: bugfix --- js/hide-images.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/hide-images.js b/js/hide-images.js index 39cfe2f5..1e00dc47 100644 --- a/js/hide-images.js +++ b/js/hide-images.js @@ -81,9 +81,9 @@ $(document).ready(function(){ $(this).parent().prev().find('.hide-image-link').click(); }; - $('div.post > a > img, div > a > img').each(handle_images); + $('div.post > a > img.post-image, div > a > img.post-image').each(handle_images); $(document).bind('new_post', function(e, post) { - $(post).find('> a > img').each(handle_images); + $(post).find('> a > img.post-image').each(handle_images); }); });