mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
Update scripts to defer
This commit is contained in:
parent
f739b5b6a9
commit
4f8fc4873a
1 changed files with 5 additions and 5 deletions
|
|
@ -29,28 +29,28 @@ endif;
|
|||
<?php
|
||||
if ($QRCODE) :
|
||||
?>
|
||||
<?php $this->_scriptTag('js/kjua-0.10.0.js', 'async'); ?>
|
||||
<?php $this->_scriptTag('js/kjua-0.10.0.js', 'defer'); ?>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<?php $this->_scriptTag('js/zlib-1.3.1-1.js', 'defer'); ?>
|
||||
<?php $this->_scriptTag('js/base-x-5.0.1.js', 'defer'); ?>
|
||||
<?php $this->_scriptTag('js/bootstrap-5.3.7.js', 'async'); ?>
|
||||
<?php $this->_scriptTag('js/bootstrap-5.3.7.js', 'defer'); ?>
|
||||
<?php $this->_scriptTag('js/dark-mode-switch.js', 'defer'); ?>
|
||||
<?php
|
||||
if ($SYNTAXHIGHLIGHTING) :
|
||||
?>
|
||||
<?php $this->_scriptTag('js/prettify.js', 'async'); ?>
|
||||
<?php $this->_scriptTag('js/prettify.js', 'defer'); ?>
|
||||
<?php
|
||||
endif;
|
||||
if ($MARKDOWN) :
|
||||
?>
|
||||
<?php $this->_scriptTag('js/showdown-2.1.0.js', 'async'); ?>
|
||||
<?php $this->_scriptTag('js/showdown-2.1.0.js', 'defer'); ?>
|
||||
<?php
|
||||
endif;
|
||||
?>
|
||||
<?php $this->_scriptTag('js/purify-3.2.6.js', 'defer'); ?>
|
||||
<?php $this->_scriptTag('js/legacy.js', 'async'); ?>
|
||||
<?php $this->_scriptTag('js/legacy.js', 'defer'); ?>
|
||||
<?php $this->_scriptTag('js/privatebin.js', 'defer'); ?>
|
||||
<!-- icon -->
|
||||
<link rel="apple-touch-icon" href="<?php echo I18n::encode($BASEPATH); ?>img/apple-touch-icon.png" sizes="180x180" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue