More timing tweaks. Fix #105 again

This commit is contained in:
2020-06-11 11:36:06 +02:00
parent f94d0466f6
commit 74146540ff
3 changed files with 17 additions and 5 deletions

View File

@@ -47,6 +47,10 @@ class BrowserPlayer extends LitElement {
}
render() {
if(!window.browser_mod) {
window.setTimeout(() => this.requestUpdate(), 100);
return html``;
}
const player = window.browser_mod.player;
return html`
<ha-card>