[build] 4.3.2

This commit is contained in:
qingwei.li 2017-09-01 15:53:04 +08:00
commit c9d556d829
5 changed files with 9 additions and 7 deletions

View file

@ -3210,7 +3210,7 @@ function scrollActiveSidebar (router) {
href = router.parse(href).query.id;
}
nav[decodeURIComponent(href)] = li;
if (href) { nav[decodeURIComponent(href)] = li; }
}
off('scroll', highlight);
@ -3220,6 +3220,8 @@ function scrollActiveSidebar (router) {
}
function scrollIntoView (id) {
if (!id) { return }
var section = find('#' + id);
section && scrollTo(section);
@ -3944,7 +3946,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.3.1';
Docsify.version = '4.3.2';
/**
* Run Docsify