diff --git a/CookieMonster.js b/CookieMonster.js index 39f9113..e892610 100644 --- a/CookieMonster.js +++ b/CookieMonster.js @@ -1207,7 +1207,7 @@ CM.Disp.CreateGCTimer = function() { CM.Disp.GCTimer.style.fontFamily = '\"Kavoon\", Georgia, serif'; CM.Disp.GCTimer.style.fontSize = '35px'; CM.Disp.GCTimer.style.cursor = 'pointer'; - CM.Disp.GCTimer.onclick = function () {CM.Disp.goldenShimmer.pop(event); CM.Disp.GCTimer.style.display = 'none';}; + CM.Disp.GCTimer.onclick = function () {CM.Disp.goldenShimmer.pop(); CM.Disp.GCTimer.style.display = 'none';}; l('game').appendChild(CM.Disp.GCTimer); } diff --git a/src/Disp.js b/src/Disp.js index 8f69832..5b5f6c3 100644 --- a/src/Disp.js +++ b/src/Disp.js @@ -705,7 +705,7 @@ CM.Disp.CreateGCTimer = function() { CM.Disp.GCTimer.style.fontFamily = '\"Kavoon\", Georgia, serif'; CM.Disp.GCTimer.style.fontSize = '35px'; CM.Disp.GCTimer.style.cursor = 'pointer'; - CM.Disp.GCTimer.onclick = function () {CM.Disp.goldenShimmer.pop(event); CM.Disp.GCTimer.style.display = 'none';}; + CM.Disp.GCTimer.onclick = function () {CM.Disp.goldenShimmer.pop(); CM.Disp.GCTimer.style.display = 'none';}; l('game').appendChild(CM.Disp.GCTimer); }