fix: move panel-offset setting code back to theme header

isekai-main
Julian Lam 3 years ago
parent 18c144bf37
commit d0255fc6a5

@ -5,8 +5,6 @@
{{{end}}}
<script>
document.documentElement.style.setProperty('--panel-offset', `${localStorage.getItem('panelOffset') || 0}px`);
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', prepareFooter);
} else {

Loading…
Cancel
Save