summaryrefslogtreecommitdiffstats
path: root/script
diff options
context:
space:
mode:
authorSimon Rettberg2016-12-02 16:11:33 +0100
committerSimon Rettberg2016-12-02 16:11:33 +0100
commit5578f2d6c4bb3d036b3c51f18755cfc365cba367 (patch)
tree1a99d9425384eac7d8ce99d182e945cd527d5cb1 /script
parentUpdate translations (diff)
downloadslx-admin-5578f2d6c4bb3d036b3c51f18755cfc365cba367.tar.gz
slx-admin-5578f2d6c4bb3d036b3c51f18755cfc365cba367.tar.xz
slx-admin-5578f2d6c4bb3d036b3c51f18755cfc365cba367.zip
Add simple decollapse mechanism for tables:
See upcoming statistics update commit for usage example
Diffstat (limited to 'script')
-rw-r--r--script/collapse.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/collapse.js b/script/collapse.js
new file mode 100644
index 00000000..ca026f87
--- /dev/null
+++ b/script/collapse.js
@@ -0,0 +1,3 @@
+$('.slx-decollapse').click(function () {
+ $(this).siblings('.collapse').removeClass('collapse');
+}); \ No newline at end of file