From ebf44919013211e069eed3fd812f132e83a68ce9 Mon Sep 17 00:00:00 2001 From: willyb321 Date: Thu, 12 Mar 2020 05:57:47 +1100 Subject: [PATCH] test --- src/app/Router.js | 7 +++++++ src/index.ejs | 15 +-------------- 2 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/app/Router.js b/src/app/Router.js index 1bac3386..143475a4 100644 --- a/src/app/Router.js +++ b/src/app/Router.js @@ -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; }; diff --git a/src/index.ejs b/src/index.ejs index 65d034d3..b71c5905 100644 --- a/src/index.ejs +++ b/src/index.ejs @@ -3,7 +3,6 @@ Coriolis EDCD Edition - - + - - - - -