mobile fixes, fix bug when linking to anchor on home, docs
This commit is contained in:
parent
db6054a8c1
commit
028bcec62c
14 changed files with 134 additions and 24 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue