mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-25 07:19:31 -05:00
fix: also loaad dark-mode switch defer'Ed to make it load correctly
(async fails on WebKIt)
This commit is contained in:
parent
2790113199
commit
f0ca1ac888
@ -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) :
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user