Fix race condition when loading styles within the widget

This commit is contained in:
Raphael Michel
2020-04-29 11:40:25 +02:00
parent 7e80ec93d5
commit 57f5fbc131
2 changed files with 2 additions and 2 deletions

View File

@@ -6,5 +6,5 @@ var inIframe = function () {
}
};
if (inIframe()) {
document.body.classList.add('in-iframe');
document.documentElement.classList.add('in-iframe');
}