// remove unused .show()

This commit is contained in:
Gregory Roussac
2013-04-29 23:14:57 +02:00
parent 1e4e8d6a13
commit cb29f20f1e
+2 -3
View File
@@ -423,9 +423,8 @@ function displayImage(domAAroundImgThumb, no_animation)
if ($('#bigpic').attr('src') != newSrc) if ($('#bigpic').attr('src') != newSrc)
{ {
$('#bigpic').attr('src', newSrc).load(function() { $('#bigpic').attr('src', newSrc).load(function() {
$(this).show(); if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) $(this).attr('rel', domAAroundImgThumb.attr('href'));
$(this).attr('rel', domAAroundImgThumb.attr('href'));
}); });
} }
$('#views_block li a').removeClass('shown'); $('#views_block li a').removeClass('shown');