mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
Fix internal navigation from Markdown links.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user