diff --git a/static/scripts/main.js b/static/scripts/main.js index 09ae764..7b7d1f4 100644 --- a/static/scripts/main.js +++ b/static/scripts/main.js @@ -56,12 +56,12 @@ function init() { while (object && object !== gltf.scene) { if (object.name === 'Next') { - window.open(next_url); + window.location.href = next_url; return; } if (object.name === 'Previous') { - window.open(prev_url); + window.location.href = prev_url; return; } object = object.parent;