diff --git a/packages/collapsible/demo/CustomCollapsible.js b/packages/collapsible/demo/CustomCollapsible.js index 560334606..ebc799b33 100644 --- a/packages/collapsible/demo/CustomCollapsible.js +++ b/packages/collapsible/demo/CustomCollapsible.js @@ -71,7 +71,7 @@ export class CustomCollapsible extends LionCollapsible { if (this._contentHeight === '0px') { return; } - ['opacity', 'padding', 'max-height'].map(prop => contentNode.style.setProperty(prop, `${0}`)); + ['opacity', 'padding', 'max-height'].map(prop => contentNode.style.setProperty(prop, '0')); await this._waitForTransition({ contentNode }); }