diff options
author | Frédéric Guillot <fred@kanboard.net> | 2019-02-19 14:45:01 -0800 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2019-02-19 14:45:01 -0800 |
commit | 23417da7638868962e23667791b4b3c43c76195f (patch) | |
tree | a189c9650da4683e7a94e3310c76ebf674d80e04 /assets/js/components/accordion.js | |
parent | 1b6f98604a2e7891d2b7fb76aebd0bfb09b02d6b (diff) |
Replace accordion Javascript component by <details> HTML element
Diffstat (limited to 'assets/js/components/accordion.js')
-rw-r--r-- | assets/js/components/accordion.js | 7 |
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'); - } -}); |