1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-22 05:29:34 +01:00

Merge pull request #405 from marktaiwan/inline-expanding

Bugfix: scroll to thumbnail on multipost close
This commit is contained in:
Fredrick Brennan 2015-02-26 09:26:47 +08:00
commit e0f29d828a

View File

@ -158,7 +158,7 @@ $(document).ready(function(){
// on multifile posts, determin how many other images are still expanded
still_open = post_body.find('.post-image').filter(function(){
return $(this).parent().attr('data-expanded') == 'true';
return $(this).parent().data('expanded') == 'true';
}).length;
// deal with differnt boards' menu styles