diff --git a/controllers/prototype/views/prototype_recommendation.jade b/controllers/prototype/views/prototype_recommendation.jade index 06544a5..ea9f4c7 100644 --- a/controllers/prototype/views/prototype_recommendation.jade +++ b/controllers/prototype/views/prototype_recommendation.jade @@ -10,7 +10,7 @@ block configjs $('#next').show(); $('#next').click(function() { window.location = '/prototype/game'; - $('#next').unbind('click'); + $('#next').prop('disabled', true); }); }; diff --git a/js/l3d/apps/prototype/interactive/main.js b/js/l3d/apps/prototype/interactive/main.js index c3d3bda..231fb3c 100644 --- a/js/l3d/apps/prototype/interactive/main.js +++ b/js/l3d/apps/prototype/interactive/main.js @@ -33,6 +33,7 @@ Coin.onCoinGot = function(coin) { $('#next').show(); $('#next').click(function() { window.location = '/prototype/next'; + $('#next').prop('disabled', true); }); }, 60*1000); }