From 220f6ad7721b0853cf86f5d117edcd554d498f07 Mon Sep 17 00:00:00 2001 From: Piotr Machowski <6118709+PiotrMachowski@users.noreply.github.com> Date: Tue, 29 Oct 2019 11:03:56 +0100 Subject: [PATCH] Updated LitElement imports --- dist/google-keep-card.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dist/google-keep-card.js b/dist/google-keep-card.js index 2b5e83e..31fd66c 100644 --- a/dist/google-keep-card.js +++ b/dist/google-keep-card.js @@ -1,7 +1,5 @@ -const LitElement = Object.getPrototypeOf( - customElements.get("ha-panel-lovelace") -); -const html = LitElement.prototype.html; +var LitElement = LitElement || Object.getPrototypeOf(customElements.get("home-assistant-main")); +var html = LitElement.prototype.html; const themeLight = "light"; const themeDark = "dark";