mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Guard for contentWindow == null (#930)
This commit is contained in:
parent
ff658c86ff
commit
9f3458fcd1
@ -54,7 +54,7 @@ class HaPanelHassio extends
|
||||
}
|
||||
|
||||
_updateProperties(data) {
|
||||
const setProperties = this.$.iframe.contentWindow.setProperties;
|
||||
const setProperties = this.$.iframe.contentWindow && this.$.iframe.contentWindow.setProperties;
|
||||
|
||||
// Delay calling setProperties until iframe loaded
|
||||
if (!setProperties) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user