Some commit

This commit is contained in:
Thomas FORGIONE
2015-09-09 15:18:18 +02:00
parent 464b3a47c0
commit 5e844538d2
7 changed files with 164 additions and 74 deletions

View File

@@ -28,6 +28,16 @@ Coin.onCoinGot = function(val) {
Coin.onLastCoin = function() { setNextButton(nextPage); };
window.onbeforeunload = function() {
if (!($('#next').is(":visible"))) {
return "Warning : you are going to leave the tutorial, that's not good !";
}
}
function main() {
// Main container that holds everything