A couple syle changes to keep the artist image normally proportioned. Also fixed the fancy boxes on the artist & album

pages
This commit is contained in:
rembo10
2012-06-26 12:09:51 +05:30
parent df9a3021b4
commit e26dabbeca
3 changed files with 16 additions and 17 deletions
+6 -4
View File
@@ -129,10 +129,11 @@
function getAlbumArt() {
var id = "${album['AlbumID']}";
var name = "${album['AlbumTitle']}";
var image = $("div#albumImg img#albumImg");
if ( !image.hasClass('done') ) {
image.addClass('done');
getArtwork(image,id,'album');
getArtwork(image,id,name,'album');
}
}
@@ -146,6 +147,9 @@
getAlbumInfo();
getAlbumArt();
initActions();
setTimeout(function(){
initFancybox();
},1000);
$('#track_table').dataTable({
"aaSorting": [],
@@ -154,8 +158,6 @@
"bPaginate": false
});
});
$(window).load(function(){
initFancybox();
});
</script>
</%def>