fix: fixed hide and visible header bug

This commit is contained in:
XPoet 2020-10-26 21:53:36 +08:00
parent 325d3b512e
commit 3a7db2c1bb
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ window.addEventListener('DOMContentLoaded', () => {
scrollTop: offset - 10,
complete: function () {
setTimeout(() => {
if (ILS.utils.headerWrapper_dom.style.opacity !== '0') ILS.utils.headerWrapper_dom.style.opacity = '0'
ILS.utils.headerWrapper_dom.style.display = 'none';
}, 100)
}
});