aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Sorokin <me@ch1p.io>2024-04-03 03:53:59 +0300
committerEvgeny Sorokin <me@ch1p.io>2024-04-03 03:53:59 +0300
commitfd490233674a38f3f0c51ce656f4e6cfeb309f01 (patch)
treef2ad21f5af279ae07c15fa5b0044e1b98849226b
parent59b3315e3ad72ae8cb6cb00219d3ee935fc04685 (diff)
no, it did not. but this SHOULD.
-rw-r--r--web/kbn_assets/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/kbn_assets/app.js b/web/kbn_assets/app.js
index 8712e71..9136af9 100644
--- a/web/kbn_assets/app.js
+++ b/web/kbn_assets/app.js
@@ -129,7 +129,7 @@ function indexInit() {
}
if (window.history !== undefined) {
- let uri = 'main.cgi'
+ let uri = new URL(location.href).pathname
if (selected !== blocks[0])
uri += '?tab=' + encodeURIComponent(selected)
window.history.replaceState(null, '', uri)