diff --git a/views/default.handlebars b/views/default.handlebars index bf8dc9a9..43846159 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -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; } diff --git a/views/default3.handlebars b/views/default3.handlebars index b91ed81a..f8fa8745 100644 --- a/views/default3.handlebars +++ b/views/default3.handlebars @@ -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; }