forked from CGM_Public/pretix_original
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