Corrected bugs and add timeout

This commit is contained in:
Thomas FORGIONE
2015-08-04 22:18:37 +02:00
parent 3a91a33d74
commit 374421780a
3 changed files with 15 additions and 1 deletions

View File

@@ -27,6 +27,13 @@ window.onbeforeunload = function() {
};
setTimeout(function() {
$('#next').show();
$('#next').click(function() {
window.location = '/prototype/games';
});
}, 3*60*60*1000);
function main() {
// Main container that holds everything

View File

@@ -210,6 +210,13 @@ TutorialSteps.prototype.nextStep = function() {
});
break;
case 17:
setTimeout(function() {
$('#next').show();
$('#next').click(function() {
window.location = '/before-begin';
});
}, 3*60*60*1000);
var cams = L3D.createPeachRecommendations(this.container_size.width(), this.container_size.height());
for (var i = 2; i < cams.length; i++) {
this.addRecommendation(cams[i]);