fix: fixed hide and visible header bug
This commit is contained in:
parent
325d3b512e
commit
3a7db2c1bb
|
@ -37,7 +37,7 @@ window.addEventListener('DOMContentLoaded', () => {
|
||||||
scrollTop: offset - 10,
|
scrollTop: offset - 10,
|
||||||
complete: function () {
|
complete: function () {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
if (ILS.utils.headerWrapper_dom.style.opacity !== '0') ILS.utils.headerWrapper_dom.style.opacity = '0'
|
ILS.utils.headerWrapper_dom.style.display = 'none';
|
||||||
}, 100)
|
}, 100)
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue