trigger scroll event to show ad
This commit is contained in:
parent
46fc0ab47f
commit
22f2053324
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue