1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

hide-images.js: bugfix

This commit is contained in:
czaks 2013-12-29 20:41:56 +01:00 committed by Michael Foster
parent 46e74cda44
commit e0b860fc54

View File

@ -81,9 +81,9 @@ $(document).ready(function(){
$(this).parent().prev().find('.hide-image-link').click(); $(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) { $(document).bind('new_post', function(e, post) {
$(post).find('> a > img').each(handle_images); $(post).find('> a > img.post-image').each(handle_images);
}); });
}); });