summaryrefslogtreecommitdiff
path: root/js/hide-images.js
diff options
context:
space:
mode:
authorAppleman1234 <applemansigloo@gmail.com>2016-12-15 18:25:42 +0900
committerGitHub <noreply@github.com>2016-12-15 18:25:42 +0900
commitcae526e65a20f3da2d8884c4d8e8978c54120000 (patch)
tree2954153dd49f616f5018490058ff4bfbd17300d3 /js/hide-images.js
parentb58fab98147a92c8e6d22f15d23684508b6bb811 (diff)
parent5feae402cb55d49963bfd2c6f5a33d10690ecbc1 (diff)
Merge pull request #79 from lainchan/clean_prod_vichan_update
Merge vichan changes from upstream and changes directly applied to the site.
Diffstat (limited to 'js/hide-images.js')
-rw-r--r--js/hide-images.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/hide-images.js b/js/hide-images.js
index 323a1a1f..4fdad891 100644
--- a/js/hide-images.js
+++ b/js/hide-images.js
@@ -77,7 +77,7 @@ $(document).ready(function(){
$(this).hide().after(show_link);
- if ($(img).parent()[0].dataset.expanded == 'true') {
+ if ($(img).parent().data('expanded') == 'true') {
$(img).parent().click();
}