diff --git a/components/collapse.ts b/components/collapse.ts index 471b084..9e30a79 100644 --- a/components/collapse.ts +++ b/components/collapse.ts @@ -33,7 +33,7 @@ export default function createCollapse({ const WIDTH = 'width' const HEIGHT = 'height' - const SELECTOR_ACTIVES = `'.${CLASS_PREFIX}collapse.${CLASS_PREFIX}show, .${CLASS_PREFIX}collapse.${CLASS_PREFIX}collapsing` + const SELECTOR_ACTIVES = `.${CLASS_PREFIX}collapse.${CLASS_PREFIX}show, .${CLASS_PREFIX}collapse.${CLASS_PREFIX}collapsing` const SELECTOR_DATA_TOGGLE = `[data-${DATA_PREFIX}toggle="collapse"]` const Default = {