From b819fafba70b2e114903a8662c127c9c03e4e084 Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Fri, 31 Aug 2018 00:06:29 +0200 Subject: [PATCH] docs: remove outdated comments in Accordion related to the initial state --- js/foundation.accordion.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/foundation.accordion.js b/js/foundation.accordion.js index 3df759d53..439cf0c29 100644 --- a/js/foundation.accordion.js +++ b/js/foundation.accordion.js @@ -192,10 +192,6 @@ class Accordion extends Plugin { * @function */ down($target) { - /** - * checking firstTime allows for initial render of the accordion - * to render preset is-active panes. - */ if ($target.closest('[data-accordion]').is('[disabled]')) { console.info('Cannot call down on an accordion that is disabled.'); return; @@ -216,7 +212,6 @@ class Accordion extends Plugin { * @function */ up($target) { - if (this.$element.is('[disabled]')) { console.info('Cannot call up on an accordion that is disabled.'); return; -- 2.47.2