Add open webring neighbour in same tab
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user