This commit is contained in:
Skylar Ittner 2020-04-07 15:32:53 -06:00
parent 52f01949d3
commit 870d93ffe3

View File

@ -262,7 +262,7 @@ if (isset($_GET["embed"])) {
?> ?>
<script nonce="<?php echo $SECURE_NONCE; ?>"> <script nonce="<?php echo $SECURE_NONCE; ?>">
window.addEventListener("load", function () { window.addEventListener("load", function () {
window.postMessage(document.documentElement.scrollHeight + "px", "*"); parent.window.postMessage(document.documentElement.scrollHeight + "px", "*");
}); });
</script> </script>
<?php <?php