This commit is contained in:
parent
cfe0ae6e88
commit
023cb367d7
1 changed files with 2 additions and 2 deletions
|
@ -3,9 +3,9 @@ if (dark)
|
||||||
addStyle("/style/dark.css");
|
addStyle("/style/dark.css");
|
||||||
|
|
||||||
// redirect legacy anchors
|
// redirect legacy anchors
|
||||||
if (/#privacy\/?/.test(location.hash))
|
if (/^#privacy\/?$/.test(location.hash))
|
||||||
location.href = "/privacy";
|
location.href = "/privacy";
|
||||||
if (/#impressum\/?/.test(location.hash))
|
if (/^#impressum\/?$/.test(location.hash))
|
||||||
location.href = "/impressum";
|
location.href = "/impressum";
|
||||||
|
|
||||||
$(function () {
|
$(function () {
|
||||||
|
|
Loading…
Reference in a new issue