forked from abner/for-legacy-web
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