Fix multi click Golden Cookie issue (issue 5)

This commit is contained in:
Aktanusa committed 2014-05-30 14:19:00 -04:00
1 parent fd71845140
commit 7fbe7bc3f9
1 file changed
+1 -1
+1 -1
View File
@@ -894,7 +894,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 = Game.goldenCookie.click;
CM.Disp.GCTimer.onclick = function () { Game.goldenCookie.click(); CM.Disp.GCTimer.style.display = 'none'; };
l('game').appendChild(CM.Disp.GCTimer);
}