// remove unused .show()

This commit is contained in:
Gregory Roussac
2013-04-29 23:14:57 +02:00
parent 1e4e8d6a13
commit cb29f20f1e
-1
View File
@@ -423,7 +423,6 @@ 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'));
}); });