mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-06 11:01:00 +08:00
refreshing all ads
This commit is contained in:
parent
0b7004ba1e
commit
a874eb02d2
1 changed files with 12 additions and 2 deletions
|
|
@ -220,7 +220,12 @@ export async function renderResult(): Promise<void> {
|
|||
// window.egAps.render(["ad-result"]);
|
||||
// } else {
|
||||
//@ts-ignore
|
||||
window.egAps.refreshAds(["ad-result"]);
|
||||
window.egAps.refreshAds([
|
||||
"ad-result",
|
||||
"ad-vertical-left",
|
||||
"ad-vertical-right",
|
||||
"ad-footer",
|
||||
]);
|
||||
// }
|
||||
} else {
|
||||
// $("#ad-result-small-wrapper").html(`
|
||||
|
|
@ -232,7 +237,12 @@ export async function renderResult(): Promise<void> {
|
|||
// window.egAps.render(["ad-result-small"]);
|
||||
// } else {
|
||||
//@ts-ignore
|
||||
window.egAps.refreshAds(["ad-result-small"]);
|
||||
window.egAps.refreshAds([
|
||||
"ad-result-small",
|
||||
"ad-vertical-left",
|
||||
"ad-vertical-right",
|
||||
"ad-footer-small",
|
||||
]);
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue