don't show title on enlarged img

This commit is contained in:
Stefan Breunig
2013-02-01 22:54:58 +01:00
parent 9a568d8ca0
commit 1369422ce3

View File

@ -20,6 +20,7 @@ window.setupLargeImagePreview = function() {
'<div id="largepreview" class="'+c+'" style="margin-left: '+(-SIDEBAR_WIDTH/2-w-2)+'px; margin-top: '+(-h-2)+'px">' + img + '</div>' '<div id="largepreview" class="'+c+'" style="margin-left: '+(-SIDEBAR_WIDTH/2-w-2)+'px; margin-top: '+(-h-2)+'px">' + img + '</div>'
); );
$('#largepreview').click(function() { $(this).remove() }); $('#largepreview').click(function() { $(this).remove() });
$('#largepreview img').attr('title', '');
}); });
} }