fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Even more sexy lessons for teachers.
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
catalogue.js
diff --git
a/wolnelektury/static/js/catalogue.js
b/wolnelektury/static/js/catalogue.js
index
afcacef
..
3eb0074
100644
(file)
--- a/
wolnelektury/static/js/catalogue.js
+++ b/
wolnelektury/static/js/catalogue.js
@@
-464,7
+464,7
@@
function serverTime() {
return false;
});
return false;
});
- $('.sponsor-logos').cycle({timeout: 3000});
+
//
$('.sponsor-logos').cycle({timeout: 3000});
$('.widget-code').focus(
function(){
$('.widget-code').focus(
function(){
@@
-505,7
+505,9
@@
function serverTime() {
});
$('.audiobook-list').hide();
});
$('.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');
/* this will be useful for javascript html player
var medias = $('.audiobook-list a');