From 7c8d335dad4666e58582a0fb00dbfa283084b8f2 Mon Sep 17 00:00:00 2001 From: CJSatnarine Date: Fri, 27 Mar 2026 09:05:34 -0400 Subject: [PATCH] Add open webring neighbour in same tab --- static/scripts/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;