Add open webring neighbour in same tab
This commit is contained in:
@@ -56,12 +56,12 @@ function init() {
|
|||||||
|
|
||||||
while (object && object !== gltf.scene) {
|
while (object && object !== gltf.scene) {
|
||||||
if (object.name === 'Next') {
|
if (object.name === 'Next') {
|
||||||
window.open(next_url);
|
window.location.href = next_url;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (object.name === 'Previous') {
|
if (object.name === 'Previous') {
|
||||||
window.open(prev_url);
|
window.location.href = prev_url;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
object = object.parent;
|
object = object.parent;
|
||||||
|
|||||||
Reference in New Issue
Block a user