summaryrefslogtreecommitdiff
path: root/js/inline-expanding.js
diff options
context:
space:
mode:
authormarktaiwan <mark.taiwan@gmail.com>2015-02-24 20:34:13 +0800
committerczaks <marcin@6irc.net>2016-05-05 12:15:51 +0200
commitdeefe7225d1992b67912a267cb2bba7ec93d1698 (patch)
treeadbd7e6d274117c2a2757f657e96f6af3db2d235 /js/inline-expanding.js
parent5176377045d25ab00ed4653f980e9a95a17b0e31 (diff)
Bugfix: scroll to thumbnail on multipost close
Indroduced in 7364e85
Diffstat (limited to 'js/inline-expanding.js')
-rw-r--r--js/inline-expanding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/inline-expanding.js b/js/inline-expanding.js
index e316fbb7..8405ee6a 100644
--- a/js/inline-expanding.js
+++ b/js/inline-expanding.js
@@ -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