mobile fixes, fix bug when linking to anchor on home, docs

This commit is contained in:
Jacky Zhao committed 2023-08-06 17:09:29 -07:00
1 parent db6054a8c1
commit 028bcec62c
14 files changed
+134 -24

No files matched your search

+1 -1
View File
@@ -228,7 +228,7 @@ function _isRelativeSegment(s: string): boolean {
return /^\.{0,2}$/.test(s)
}
function _stripSlashes(s: string): string {
export function _stripSlashes(s: string): string {
if (s.startsWith("/")) {
s = s.substring(1)
}