fix: also loaad dark-mode switch defer'Ed to make it load correctly

(async fails on WebKIt)
This commit is contained in:
rugk 2024-10-22 22:20:49 +00:00
parent 2790113199
commit f0ca1ac888

View File

@ -42,7 +42,7 @@ endif;
<?php $this->_scriptTag('js/base-x-4.0.0.js', ''); ?> <?php $this->_scriptTag('js/base-x-4.0.0.js', ''); ?>
<?php $this->_scriptTag('js/rawinflate-0.3.js', ''); ?> <?php $this->_scriptTag('js/rawinflate-0.3.js', ''); ?>
<?php $this->_scriptTag('js/bootstrap-5.3.3.js', 'async'); ?> <?php $this->_scriptTag('js/bootstrap-5.3.3.js', 'async'); ?>
<?php $this->_scriptTag('js/dark-mode-switch.js', 'async'); ?> <?php $this->_scriptTag('js/dark-mode-switch.js', 'defer'); ?>
<?php <?php
if ($SYNTAXHIGHLIGHTING) : if ($SYNTAXHIGHLIGHTING) :
?> ?>