Try stuff
This commit is contained in:
parent
776ccfcc4f
commit
b93c81a626
|
@ -5,17 +5,9 @@ block title
|
||||||
|
|
||||||
block configjs
|
block configjs
|
||||||
script Recommendation = #{recommendationStyle}; coinsId = [#{coins}];
|
script Recommendation = #{recommendationStyle}; coinsId = [#{coins}];
|
||||||
script.
|
|
||||||
Coin.onLastCoin = function() {
|
|
||||||
$('#next').show();
|
|
||||||
$('#next').click(function() {
|
|
||||||
window.location = '/prototype/game';
|
|
||||||
$('#next').unbind('click');
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
block lastbutton
|
block lastbutton
|
||||||
button#next.btn.btn-success.navbar-btn(style={'margin-right':'10px', 'margin-bottom':'10px', 'display':'none'})
|
a#next.btn.btn-success.navbar-btn(role="button", href='/prototype/game', style={'margin-right':'10px', 'margin-bottom':'10px', 'display':'none'})
|
||||||
span Go to the next step
|
span Go to the next step
|
||||||
|
|
||||||
//-block preciseDescription
|
//-block preciseDescription
|
||||||
|
|
|
@ -31,19 +31,12 @@ Coin.onCoinGot = function(coin) {
|
||||||
if (coin === 6) {
|
if (coin === 6) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$('#next').show();
|
$('#next').show();
|
||||||
$('#next').click(function() {
|
|
||||||
window.location = '/prototype/next';
|
|
||||||
});
|
|
||||||
}, 60*1000);
|
}, 60*1000);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
Coin.onLastCoin = function() {
|
Coin.onLastCoin = function() {
|
||||||
$('#next').show();
|
$('#next').show();
|
||||||
$('#next').click(function() {
|
|
||||||
window.location = '/prototype/next';
|
|
||||||
});
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
|
Loading…
Reference in New Issue