Bugfix: scroll to thumbnail on multipost close

Indroduced in 7364e85
This commit is contained in:
marktaiwan 2015-02-24 20:34:13 +08:00 committed by czaks
parent 5176377045
commit deefe7225d

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