From 628b60dcb4a16c8dcd9fa62a0c30780b4ad266b6 Mon Sep 17 00:00:00 2001 From: rugk Date: Tue, 22 Oct 2024 22:29:42 +0000 Subject: [PATCH] refactor: deferring everything including all potential deps MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also works on Safariā€¦ --- tpl/bootstrap.php | 8 ++++---- tpl/bootstrap5.php | 14 +++++++------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php index 7efdbdc7..b2398387 100644 --- a/tpl/bootstrap.php +++ b/tpl/bootstrap.php @@ -42,7 +42,7 @@ if ($SYNTAXHIGHLIGHTING) : endif; ?> - _scriptTag('js/jquery-3.7.1.js'); ?> + _scriptTag('js/jquery-3.7.1.js', 'defer'); ?> @@ -56,8 +56,8 @@ if ($ZEROBINCOMPATIBILITY) : endif; ?> _scriptTag('js/zlib-1.3.1.js', 'async'); ?> - _scriptTag('js/base-x-4.0.0.js'); ?> - _scriptTag('js/rawinflate-0.3.js'); ?> + _scriptTag('js/base-x-4.0.0.js', 'defer'); ?> + _scriptTag('js/rawinflate-0.3.js', 'defer'); ?> _scriptTag('js/bootstrap-3.4.1.js', 'defer'); ?> +?>