This commit is contained in:
willyb321
2020-03-12 05:57:47 +11:00
parent d322a47592
commit ebf4491901
2 changed files with 8 additions and 14 deletions

View File

@@ -72,6 +72,7 @@ Router.go = function(path, state) {
gaTrack(path);
let ctx = new Context(path, state);
Router.dispatch(ctx);
if (!ctx.unhandled) {
if (isStandAlone()) {
Persist.setState(ctx);
@@ -87,6 +88,12 @@ Router.go = function(path, state) {
location.reload();
}
}
try {
(window.adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-3709458261881414",
enable_page_level_ads: true
});
} catch (error) {}
return ctx;
};