summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2013-12-29 20:41:56 +0100
committerMichael Foster <savetheinterpod@gmail.com>2014-01-19 14:52:18 -0500
commit9c17183e410f1b81a28e0d981341b7d409f9a4d5 (patch)
tree34257f0f678ad73b03a1aaf1defaa52233d3d104 /js
parent7ec82f878e379df85e7581266d319a82efdaf367 (diff)
hide-images.js: bugfix
Diffstat (limited to 'js')
-rw-r--r--js/hide-images.js4
1 files 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);
});
});