summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to '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