trigger scroll event to show ad

This commit is contained in:
Anthony 2021-12-08 19:29:39 +01:00 committed by Thomas Zarebczan
parent 46fc0ab47f
commit 22f2053324

View file

@ -298,6 +298,8 @@ function DiscoverPage(props: Props) {
styleSheet.innerText = styles; styleSheet.innerText = styles;
// $FlowFixMe // $FlowFixMe
document.head.appendChild(styleSheet); document.head.appendChild(styleSheet);
window.dispatchEvent(new CustomEvent('scroll'))
} }
} }
checkFlag(); checkFlag();