// revert from commit 5f6d0614df
This commit is contained in:
1 parent
7b1c50b97f
commit
7afdb08a56
1 file changed
+3
-5
@@ -422,11 +422,9 @@ function displayImage(domAAroundImgThumb, no_animation)
|
|||||||
var newSrc = domAAroundImgThumb.attr('href').replace('thickbox', 'large');
|
var newSrc = domAAroundImgThumb.attr('href').replace('thickbox', 'large');
|
||||||
if ($('#bigpic').attr('src') != newSrc)
|
if ($('#bigpic').attr('src') != newSrc)
|
||||||
{
|
{
|
||||||
$(this).attr('src', newSrc).load(function() {
|
$('#bigpic').attr('src', newSrc);
|
||||||
$(this).show();
|
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
|
||||||
if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled)
|
$('#bigpic').attr('rel', domAAroundImgThumb.attr('href'));
|
||||||
$(this).attr('alt', domAAroundImgThumb.attr('href'));
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
$('#views_block li a').removeClass('shown');
|
$('#views_block li a').removeClass('shown');
|
||||||
$(domAAroundImgThumb).addClass('shown');
|
$(domAAroundImgThumb).addClass('shown');
|
||||||
|
|||||||
Reference in new issue
Block a user