mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-03 17:49:19 +02:00
Updated bootstrap.php to include scripts as defer
This commit is contained in:
parent
4f8fc4873a
commit
397d006479
1 changed files with 6 additions and 6 deletions
|
@ -46,27 +46,27 @@ 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', 'async'); ?>
|
||||
<?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-3.4.1.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', 'async'); ?>
|
||||
<?php $this->_scriptTag('js/legacy.js', 'async'); ?>
|
||||
<?php $this->_scriptTag('js/purify-3.2.6.js', 'defer'); ?>
|
||||
<?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