diff options
| author | 8chan <admin@8chan.co> | 2015-02-20 01:51:06 -0800 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-05 12:15:26 +0200 |
| commit | 5176377045d25ab00ed4653f980e9a95a17b0e31 (patch) | |
| tree | a08ae71b97697b7d576c0e6f9d243d4be0acc59c /js/hide-images.js | |
| parent | 88f6088a429fb73d12805377b43c6b567d03a5db (diff) | |
Fix many features for Internet Explorer 9 and 10
Please don't use "dataset" in scripts anymore, it doesn't work in IE9 or 10. Instead use $.data
Diffstat (limited to 'js/hide-images.js')
| -rw-r--r-- | js/hide-images.js | 2 |
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(); } |
