Corrected bugs and add timeout
This commit is contained in:
7
js/l3d/apps/prototype/interactive/main.js
vendored
7
js/l3d/apps/prototype/interactive/main.js
vendored
@@ -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
|
||||
|
||||
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user