Tweak active item in sidebar
This commit is contained in:
parent
4a7df99224
commit
0a2e1ddf11
2 changed files with 11 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ const OPTIONS = merge({
|
|||
basePath: '',
|
||||
auto2top: false,
|
||||
name: '',
|
||||
nameLink: location.pathname
|
||||
nameLink: window.location.pathname
|
||||
}, window.$docsify)
|
||||
const script = document.currentScript || [].slice.call(document.getElementsByTagName('script')).pop()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue