mirror of
https://github.com/AzuraCast/AzuraCast.git
synced 2024-06-14 13:16:37 +00:00
Revert frame parent postMessage.
This commit is contained in:
parent
7af8add848
commit
edfde0ddf4
|
@ -37,21 +37,6 @@ ready(() => {
|
|||
const toast = new bootstrap.Toast(el);
|
||||
toast.show();
|
||||
});
|
||||
|
||||
// If in a frame, notify the parent frame of the frame dimensions.
|
||||
if (window.self !== window.top) {
|
||||
window.top.postMessage({
|
||||
height: document.body.scrollHeight,
|
||||
width: document.body.scrollWidth
|
||||
}, "*");
|
||||
|
||||
document.addEventListener("vue-ready", () => {
|
||||
window.top.postMessage({
|
||||
height: document.body.scrollHeight,
|
||||
width: document.body.scrollWidth
|
||||
}, "*");
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
export default bootstrap;
|
||||
|
|
Loading…
Reference in New Issue
Block a user