This commit is contained in:
Thomas FORGIONE 2015-08-31 14:47:46 +02:00
parent a4fedaf600
commit 8ac5391ce3
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ block configjs
$('#next').show(); $('#next').show();
$('#next').click(function() { $('#next').click(function() {
window.location = '/prototype/game'; window.location = '/prototype/game';
$('#next').unbind('click'); $('#next').prop('disabled', true);
}); });
}; };

View File

@ -33,6 +33,7 @@ Coin.onCoinGot = function(coin) {
$('#next').show(); $('#next').show();
$('#next').click(function() { $('#next').click(function() {
window.location = '/prototype/next'; window.location = '/prototype/next';
$('#next').prop('disabled', true);
}); });
}, 60*1000); }, 60*1000);
} }