fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
some css tweaks regarding colors
[wolnelektury.git]
/
wolnelektury
/
static
/
js
/
base.js
diff --git
a/wolnelektury/static/js/base.js
b/wolnelektury/static/js/base.js
index
028ab33
..
51107fe
100755
(executable)
--- a/
wolnelektury/static/js/base.js
+++ b/
wolnelektury/static/js/base.js
@@
-17,6
+17,15
@@
$('.open-player').click(function(event) {
});
+ $('.book-list-index').click(function(){
+ $('.book-list-show-index').hide('slow');
+ if($(this).parent().next('ul:not(:hidden)').length == 0){
+ $(this).parent().next('ul').toggle('slow');
+ }
+ return false;
+ });
+
+
});
})(jQuery)