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
This commit is contained in:
@@ -20,7 +20,7 @@ $(document).ready(function(){
|
||||
$('<style type="text/css"> img.hidden{ opacity: 0.1; background: grey; border: 1px solid #000; } </style>').appendTo($('head'));
|
||||
|
||||
var hideImage = function() {
|
||||
if ($(this).parent()[0].dataset.expanded == 'true') {
|
||||
if ($(this).parent().data('expanded') == 'true') {
|
||||
$(this).parent().click();
|
||||
}
|
||||
$(this)
|
||||
|
Reference in New Issue
Block a user