diff --git a/kb-frosted-cards.js b/kb-frosted-cards.js index 54e382d..15d7f25 100644 --- a/kb-frosted-cards.js +++ b/kb-frosted-cards.js @@ -12,7 +12,7 @@ addCssToCard(cardName, cssRule, cardName === "ha-card") ); - waitUntilDefined('ha-button-menu', undefined, enforceOld) + waitUntilDefined('ha-button-menu') .then(() => customElements.get('ha-button-menu').render = () => console.log('rendering!')); Promise.resolve()