summaryrefslogtreecommitdiff
path: root/assets/js/components/accordion.js
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2019-02-19 14:45:01 -0800
committerFrédéric Guillot <fred@kanboard.net>2019-02-19 14:45:01 -0800
commit23417da7638868962e23667791b4b3c43c76195f (patch)
treea189c9650da4683e7a94e3310c76ebf674d80e04 /assets/js/components/accordion.js
parent1b6f98604a2e7891d2b7fb76aebd0bfb09b02d6b (diff)
Replace accordion Javascript component by <details> HTML element
Diffstat (limited to 'assets/js/components/accordion.js')
-rw-r--r--assets/js/components/accordion.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/assets/js/components/accordion.js b/assets/js/components/accordion.js
deleted file mode 100644
index 2f617fb5..00000000
--- a/assets/js/components/accordion.js
+++ /dev/null
@@ -1,7 +0,0 @@
-KB.onClick('.accordion-toggle', function (e) {
- var sectionElement = KB.dom(e.target).parent('.accordion-section');
-
- if (sectionElement) {
- KB.dom(sectionElement).toggleClass('accordion-collapsed');
- }
-});