Need to set the whole URL

This commit is contained in:
Timothy Farrell 2026-03-12 09:39:48 +00:00
parent 874a88a7f1
commit 3941358e20

View File

@ -72,10 +72,10 @@
document.getElementById('next-btn').click();
} else if (e.code === 'Equal') {
var params = getRefreshParams();
if (params) window.location.href = params.order + '/' + (params.delay + 1) + '/' + params.hash;
if (params) window.location.href = '/' + params.order + '/' + (params.delay + 1) + '/' + params.hash;
} else if (e.code === 'Minus') {
var params = getRefreshParams();
if (params && params.delay > 1) window.location.href = params.order + '/' + (params.delay - 1) + '/' + params.hash;
if (params && params.delay > 1) window.location.href = '/' + params.order + '/' + (params.delay - 1) + '/' + params.hash;
} else if (e.key.toLowerCase() === 'o') {
var params = getRefreshParams();
if (params) {