diff --git a/tpl/bootstrap5.php b/tpl/bootstrap5.php index bf6e28d5..92fc8ace 100644 --- a/tpl/bootstrap5.php +++ b/tpl/bootstrap5.php @@ -42,7 +42,7 @@ endif; _scriptTag('js/base-x-4.0.0.js', ''); ?> _scriptTag('js/rawinflate-0.3.js', ''); ?> _scriptTag('js/bootstrap-5.3.3.js', 'async'); ?> - _scriptTag('js/dark-mode-switch.js', 'async'); ?> + _scriptTag('js/dark-mode-switch.js', 'defer'); ?>