mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-02-20 20:51:50 +01:00
hide-images.js: bugfix
This commit is contained in:
parent
e53142d7b4
commit
7469715ca2
@ -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);
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user