From 23417da7638868962e23667791b4b3c43c76195f Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 19 Feb 2019 14:45:01 -0800 Subject: Replace accordion Javascript component by
HTML element --- assets/js/components/accordion.js | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 assets/js/components/accordion.js (limited to 'assets/js/components') 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'); - } -}); -- cgit v1.2.3