mirror of
https://github.com/wahyd4/docsify.git
synced 2026-08-15 08:16:14 +10:00
bump 1.1.1
This commit is contained in:
+10
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user