Fixed highlight sidebar using chinese ids

This commit is contained in:
qingwei.li 2016-12-18 15:37:24 +08:00
parent 9ba989c86c
commit e5e1e07e1a
2 changed files with 2 additions and 1 deletions

View File

@ -4,6 +4,7 @@
### Bug fixes
- Remove table background color
- Fixed highlight sidebar using chinese ids
## 1.1.5
### Features

View File

@ -18,7 +18,7 @@ export function scrollActiveSidebar () {
if (href !== '/') href = href.match(/#([^#]+)$/g)[0].slice(1)
nav[href] = li
nav[decodeURIComponent(href)] = li
}
function highlight () {