no, it did not. but this SHOULD.

This commit is contained in:
Evgeny Sorokin 2024-04-03 03:53:59 +03:00
parent 59b3315e3a
commit fd49023367

View File

@ -129,7 +129,7 @@ function indexInit() {
} }
if (window.history !== undefined) { if (window.history !== undefined) {
let uri = 'main.cgi' let uri = new URL(location.href).pathname
if (selected !== blocks[0]) if (selected !== blocks[0])
uri += '?tab=' + encodeURIComponent(selected) uri += '?tab=' + encodeURIComponent(selected)
window.history.replaceState(null, '', uri) window.history.replaceState(null, '', uri)