fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
librarian bump
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
catalogue.js
diff --git
a/wolnelektury/static/js/catalogue.js
b/wolnelektury/static/js/catalogue.js
index
510c543
..
afcacef
100644
(file)
--- a/
wolnelektury/static/js/catalogue.js
+++ b/
wolnelektury/static/js/catalogue.js
@@
-501,7
+501,7
@@
function serverTime() {
// we don't want to interact with "audiobook" label, just 'format' tabs
var $this = $(this);
$this.addClass("active");
// we don't want to interact with "audiobook" label, just 'format' tabs
var $this = $(this);
$this.addClass("active");
- $("#"+$this.
html().toLowerCase(
)+"-files").show();
+ $("#"+$this.
attr('data-format'
)+"-files").show();
});
$('.audiobook-list').hide();
});
$('.audiobook-list').hide();