diff --git a/data/web/templates/base.twig b/data/web/templates/base.twig index a5e61ab3..d6f6d0b8 100644 --- a/data/web/templates/base.twig +++ b/data/web/templates/base.twig @@ -385,7 +385,7 @@ function recursiveBase64StrToArrayBuffer(obj) { }).then(json => { if (json.success) { // reload on success - window.location.href = window.location.href; + window.location = window.location.href.split("#")[0]; } else { throw new Error(json.msg); }