mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Fix race condition when loading styles within the widget
This commit is contained in:
@@ -6,5 +6,5 @@ var inIframe = function () {
|
||||
}
|
||||
};
|
||||
if (inIframe()) {
|
||||
document.body.classList.add('in-iframe');
|
||||
document.documentElement.classList.add('in-iframe');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user