mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-11 23:13:21 -05:00
fix reload issue with # in url
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
8d4e9bcede
commit
6aa60d556f
@ -2186,6 +2186,7 @@
|
||||
function reload() {
|
||||
var x = window.location.href;
|
||||
if (x.endsWith('/#')) { x = x.substring(0, x.length - 2); }
|
||||
if (x.endsWith('#')) { x = x.substring(0, x.length - 1); }
|
||||
window.location.href = x;
|
||||
}
|
||||
|
||||
|
@ -2689,6 +2689,7 @@
|
||||
function reload() {
|
||||
var x = window.location.href;
|
||||
if (x.endsWith('/#')) { x = x.substring(0, x.length - 2); }
|
||||
if (x.endsWith('#')) { x = x.substring(0, x.length - 1); }
|
||||
window.location.href = x;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user