Commit eba2d0ab authored by Grandschtroumpf's avatar Grandschtroumpf Committed by François

solve issue#2413

parent 8ff18f9a
...@@ -62,7 +62,9 @@ export class AbstractPanel extends HostPlugin { ...@@ -62,7 +62,9 @@ export class AbstractPanel extends HostPlugin {
if (view.tagName === 'IFRAME') { if (view.tagName === 'IFRAME') {
view.addEventListener('load', () => { view.addEventListener('load', () => {
this.contents[name].removeChild(loading) if (this.contents[name].contains(loading)) {
this.contents[name].removeChild(loading)
}
view.style.display = 'block' view.style.display = 'block'
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment