diff --git a/www/src/js/cookie/game.js b/www/src/js/cookie/game.js index 901a95a..e5d1282 100644 --- a/www/src/js/cookie/game.js +++ b/www/src/js/cookie/game.js @@ -25,8 +25,8 @@ $(".cookie").on("click", function (e) { const Y = e.pageY - offset.top; $effect.css({ - left: X + "px", - top: Y + "px", + left: `${X}px`, + top: `${Y}px`, position: "absolute", }); diff --git a/www/src/plugins/admob.ts b/www/src/plugins/admob.ts index c0dc60e..6e66324 100644 --- a/www/src/plugins/admob.ts +++ b/www/src/plugins/admob.ts @@ -65,12 +65,12 @@ function $award() { } $(() => { - /* if (window.Capacitor.getPlatform() !== "android") { + if (window.Capacitor.getPlatform() !== "android") { console.log( `AdMob: Unsupported platform (${window.Capacitor.getPlatform()})`, ); return; - }*/ + } AdMob.initialize() .then(() => {