X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/af544a7534db40bd650ac88fe5cf23cccf7b5b27..743fc7a6d0086d6e0a2706db4d6a1b5cd1ef00d9:/wolnelektury/static/js/catalogue.js?ds=inline diff --git a/wolnelektury/static/js/catalogue.js b/wolnelektury/static/js/catalogue.js index afcacef79..3eb007470 100644 --- a/wolnelektury/static/js/catalogue.js +++ b/wolnelektury/static/js/catalogue.js @@ -464,7 +464,7 @@ function serverTime() { return false; }); - $('.sponsor-logos').cycle({timeout: 3000}); + //$('.sponsor-logos').cycle({timeout: 3000}); $('.widget-code').focus( function(){ @@ -505,7 +505,9 @@ function serverTime() { }); $('.audiobook-list').hide(); - $("#"+$(".audiotabs .active").html().toLowerCase()+"-files").show(); + if($(".audiotabs .active").length > 0) { + $("#"+$(".audiotabs .active").html().toLowerCase()+"-files").show(); + } /* this will be useful for javascript html player var medias = $('.audiobook-list a');