summaryrefslogtreecommitdiff
path: root/public/collapse.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/collapse.js')
-rw-r--r--public/collapse.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/public/collapse.js b/public/collapse.js
deleted file mode 100644
index d38b30a..0000000
--- a/public/collapse.js
+++ /dev/null
@@ -1,22 +0,0 @@
-$(document).ready(function() {
- $('div.displayclean > ul > li').each(function() {
- $(this).click(function() {
- $(this).children('.moreinfo').each(function() {
- if ($(this).hasClass('expanded-moreinfo')) {
- $(this).removeClass('expanded-moreinfo');
- $(this).addClass('collapsed-moreinfo');
- }
- else {
- $('.moreinfo').each(function() {
- if ($(this).hasClass('expanded-moreinfo')) {
- $(this).removeClass('expanded-moreinfo');
- $(this).addClass('collapsed-moreinfo');
- }
- });
- $(this).removeClass('collapsed-moreinfo');
- $(this).addClass('expanded-moreinfo');
- }
- });
- });
- });
-});