Fix sponsors not appearing
This commit is contained in:
parent
0ee5ba13c7
commit
d997052aa8
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
<script type="text/javascript">
|
||||
window.onload = () => {
|
||||
const height = document.querySelector("#banners").scrollHeight;
|
||||
const height = document.querySelector("#banners").scrollHeight || 120;
|
||||
window.parent.postMessage(["setSponsorsHeight", height], "*");
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue