fix: load in WebKit again by loading jquery, base and deflate libs non-async'ly

This commit is contained in:
rugk 2024-10-16 22:46:18 +00:00
parent 6631e770a0
commit 64ed6e96ee
2 changed files with 6 additions and 6 deletions

View file

@ -42,7 +42,7 @@ if ($SYNTAXHIGHLIGHTING) :
endif;
?>
<noscript><link type="text/css" rel="stylesheet" href="css/noscript.css" /></noscript>
<?php $this->_scriptTag('js/jquery-3.7.1.js', 'async'); ?>
<?php $this->_scriptTag('js/jquery-3.7.1.js', ''); ?>
<?php
if ($QRCODE) :
?>
@ -56,8 +56,8 @@ if ($ZEROBINCOMPATIBILITY) :
endif;
?>
<?php $this->_scriptTag('js/zlib-1.3.1.js', 'async'); ?>
<?php $this->_scriptTag('js/base-x-4.0.0.js', 'async'); ?>
<?php $this->_scriptTag('js/rawinflate-0.3.js', 'async'); ?>
<?php $this->_scriptTag('js/base-x-4.0.0.js', ''); ?>
<?php $this->_scriptTag('js/rawinflate-0.3.js', ''); ?>
<?php $this->_scriptTag('js/bootstrap-3.4.1.js', 'defer'); ?>
<?php
if ($SYNTAXHIGHLIGHTING) :

View file

@ -25,7 +25,7 @@ if ($SYNTAXHIGHLIGHTING) :
endif;
?>
<noscript><link type="text/css" rel="stylesheet" href="css/noscript.css" /></noscript>
<?php $this->_scriptTag('js/jquery-3.7.1.js', 'defer'); ?>
<?php $this->_scriptTag('js/jquery-3.7.1.js', ''); ?>
<?php
if ($QRCODE) :
?>
@ -39,8 +39,8 @@ if ($ZEROBINCOMPATIBILITY) :
endif;
?>
<?php $this->_scriptTag('js/zlib-1.3.1.js', 'async'); ?>
<?php $this->_scriptTag('js/base-x-4.0.0.js', 'async'); ?>
<?php $this->_scriptTag('js/rawinflate-0.3.js', 'async'); ?>
<?php $this->_scriptTag('js/base-x-4.0.0.js', ''); ?>
<?php $this->_scriptTag('js/rawinflate-0.3.js', ''); ?>
<?php $this->_scriptTag('js/bootstrap-5.3.3.js', 'async'); ?>
<?php $this->_scriptTag('js/dark-mode-switch.js', 'async'); ?>
<?php