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