mirror of
https://github.com/revoltchat/revite.git
synced 2024-12-25 07:02:10 -05:00
Fix internal navigation from Markdown links.
This commit is contained in:
parent
64682d453f
commit
55ef70211a
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ if (typeof window !== "undefined") {
|
||||||
if (pathname.startsWith("/@")) {
|
if (pathname.startsWith("/@")) {
|
||||||
internalEmit("Intermediate", "openProfile", pathname.substr(2));
|
internalEmit("Intermediate", "openProfile", pathname.substr(2));
|
||||||
} else {
|
} else {
|
||||||
internalEmit("Intermediate", "navigate", pathname.substr(2));
|
internalEmit("Intermediate", "navigate", pathname);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue