bump 1.1.1

This commit is contained in:
qingwei.li 2016-12-17 09:01:41 +08:00
parent e58c17fdc6
commit 14a4c2f77d
2 changed files with 12 additions and 3 deletions

View File

@ -2467,7 +2467,16 @@ function renderLoading (ref) {
document.body.appendChild(div);
CACHE['loading'] = div;
}
CACHE['loading'].style.width = num >= 95 ? '0%' : num + '%';
CACHE['loading'].style.opacity = 1;
CACHE['loading'].style.width = num + '%';
if (num >= 95) {
clearTimeout(renderLoading.cacheTImeout);
renderLoading.cacheTImeout = setTimeout(function (_) {
CACHE['loading'].style.opacity = 0;
CACHE['loading'].style.width = '0%';
}, 200);
}
}
/**

4
lib/docsify.min.js vendored

File diff suppressed because one or more lines are too long