// remove unused .show()
This commit is contained in:
@@ -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');
|
||||||
|
|||||||
Reference in New Issue
Block a user