mirror of
https://github.com/docsifyjs/docsify.git
synced 2025-12-08 19:55:52 +00:00
chore: tweaks code
This commit is contained in:
parent
041b33e967
commit
0e693fcda2
@ -1,5 +1,5 @@
|
||||
const fixedPath = location.href.replace('/-/', '/#/')
|
||||
if (fixedPath != location.href) {
|
||||
if (fixedPath !== location.href) {
|
||||
location.href = fixedPath
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user