More timing tweaks. Fix #105 again
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user