fix: fixed height overflow of page height handle
This commit is contained in:
parent
533e09e46f
commit
9e000aacf7
|
@ -7,12 +7,12 @@
|
|||
<script async src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script>
|
||||
<div class="website-count info-item">
|
||||
<% if (theme.website_count.busuanzi_count.site_uv) { %>
|
||||
<span id="busuanzi_container_site_uv" style="display: none">
|
||||
<span id="busuanzi_container_site_uv">
|
||||
<%- __('site_uv') %> <span id="busuanzi_value_site_uv"></span>
|
||||
</span>
|
||||
<% } %>
|
||||
<% if (theme.website_count.busuanzi_count.site_pv) { %>
|
||||
<span id="busuanzi_container_site_pv" style="display: none">
|
||||
<span id="busuanzi_container_site_pv">
|
||||
<%- __('site_pv') %> <span id="busuanzi_value_site_pv"></span>
|
||||
</span>
|
||||
<% } %>
|
||||
|
|
|
@ -21,9 +21,7 @@ ILS.utils = {
|
|||
const ProgressPercent = (scrollTop / (scrollHeight - clientHeight) * 100).toFixed(3);
|
||||
|
||||
if (ILS.utils.headerProgress_dom) {
|
||||
// ILS.utils.headerProgress_dom.style.display = percent === '0' ? 'none' : 'block';
|
||||
ILS.utils.headerProgress_dom.style.visibility = percent === '0' ? 'hidden' : 'visible';
|
||||
|
||||
ILS.utils.headerProgress_dom.style.width = `${ProgressPercent}%`;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue