mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
Use device width for width calculation of widget
This commit is contained in:
@@ -648,7 +648,7 @@ var shared_root_computed = {
|
|||||||
return form_target;
|
return form_target;
|
||||||
},
|
},
|
||||||
useIframe: function () {
|
useIframe: function () {
|
||||||
return window.innerWidth >= 800 && (this.skip_ssl || site_is_secure());
|
return Math.min(screen.width, window.innerWidth) >= 800 && (this.skip_ssl || site_is_secure());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user