mirror of
https://github.com/rembo10/headphones.git
synced 2026-05-22 03:17:45 +01:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user