diff options
author | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 03:53:59 +0300 |
---|---|---|
committer | Evgeny Sorokin <me@ch1p.io> | 2024-04-03 03:53:59 +0300 |
commit | fd490233674a38f3f0c51ce656f4e6cfeb309f01 (patch) | |
tree | f2ad21f5af279ae07c15fa5b0044e1b98849226b /web/kbn_assets/app.js | |
parent | 59b3315e3ad72ae8cb6cb00219d3ee935fc04685 (diff) |
no, it did not. but this SHOULD.
Diffstat (limited to 'web/kbn_assets/app.js')
-rw-r--r-- | web/kbn_assets/app.js | 2 |
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) |