trying simple fix -- will it work?..
This commit is contained in:
parent
031ab79595
commit
59b3315e3a
@ -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
|
||||||
}
|
}
|
||||||
|
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user