fix(frontend-player): use <html> as root inside iframes

This commit is contained in:
ShiKhu 2022-04-28 17:12:40 +02:00
parent d79a14f6d0
commit 156eb5dd26

View file

@ -271,7 +271,7 @@ export default class DOMManager extends ListWalker<Message> {
logger.warn("No iframe doc", msg, node, node.contentDocument);
return;
}
this.nl[ msg.id ] = doc
this.nl[ msg.id ] = doc.documentElement
return;
} else if (node instanceof Element) { // shadow DOM
try {