trying simple fix -- will it work?..

This commit is contained in:
Evgeny Sorokin 2024-04-03 03:52:17 +03:00
parent 031ab79595
commit 59b3315e3a
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ common_static_files = {
'+bootstrap.min.css': 1, '+bootstrap.min.css': 1,
'+bootstrap.bundle.min.js': 1, '+bootstrap.bundle.min.js': 1,
'+polyfills.js': 1, '+polyfills.js': 1,
'+app.js': 6, '+app.js': 7,
'+app.css': 6, '+app.css': 6,
'hls.js': 1 'hls.js': 1
} }

View File

@ -129,7 +129,7 @@ function indexInit() {
} }
if (window.history !== undefined) { if (window.history !== undefined) {
let uri = '/main.cgi' let uri = 'main.cgi'
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)