bump 1.1.1
This commit is contained in:
parent
e58c17fdc6
commit
14a4c2f77d
2 changed files with 12 additions and 3 deletions
|
|
@ -2467,7 +2467,16 @@ function renderLoading (ref) {
|
||||||
document.body.appendChild(div);
|
document.body.appendChild(div);
|
||||||
CACHE['loading'] = 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
4
lib/docsify.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue