summaryrefslogtreecommitdiffstats
path: root/includes/footer.php
diff options
context:
space:
mode:
authorEltrac <45323514+BigCoke233@users.noreply.github.com>2019-07-24 20:10:46 +0800
committerGitHub <noreply@github.com>2019-07-24 20:10:46 +0800
commit38353f67af44f1a2c0b29d9ff43f0c2a42958833 (patch)
treed8a04142dc9505140d4dedef9096c2f762a32a7e /includes/footer.php
parent8df9340aeb541787ed0448090be8bccb374acbc6 (diff)
修复文字卡片标题部分字母下半部分显示不完整、内置两只可调戏的猫咪
Diffstat (limited to 'includes/footer.php')
-rw-r--r--includes/footer.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/includes/footer.php b/includes/footer.php
index b790d5e..52ea3e4 100644
--- a/includes/footer.php
+++ b/includes/footer.php
@@ -22,6 +22,7 @@
<script src="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/js/OwO.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/js/prism.js"></script>
<script src="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/js/pangu.js"></script>
+ <script src="https://cdn.jsdelivr.net/gh/BigCoke233/miracles@<?php themeVersion(); ?>/assets/js/l2dwidget.min.js"></script>
<?php else: ?>
<script src="<?php Utils::indexTheme('assets/js/jquery.js'); ?>"></script>
<script src="<?php Utils::indexTheme('assets/js/pjax.jquery.js'); ?>"></script>
@@ -31,16 +32,18 @@
<script src="<?php Utils::indexTheme('assets/js/OwO.min.js'); ?>"></script>
<script src="<?php Utils::indexTheme('assets/js/prism.js'); ?>"></script>
<script src="<?php Utils::indexTheme('assets/js/pangu.js'); ?>"></script>
+ <script src="<?php Utils::indexTheme('assets/js/l2dwidget.min.js'); ?>"></script>
<?php endif; ?>
<script>var siteurl = '<?php $this->options->SiteUrl() ;?>';
var owoJson = '<?php Utils::indexTheme('assets/OwO.json'); ?>';
+ var modelJson = '<?php if($this->options->cat && $this->options->cat==1){Utils::indexTheme('assets/model/hijiki/assets/hijiki.model.json');}elseif($this->options->cat && $this->options->cat==2){Utils::indexTheme('assets/model/tororo/assets/tororo.model.json');}?>';
<?php if($this->options->pjax && $this->options->pjax!=0) :?>
var loadPjax = true;
beforePjax = function() {NProgress.start();}
- afterPjax = function() {owoLoad();<?php $this->options->pjax_complete(); ?>}
+ afterPjax = function() {<?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?><?php $this->options->pjax_complete(); ?>}
<?php endif; ?></script>
<script src="<?php Utils::indexTheme('assets/js/miracles.min.js'); ?>"></script>
- <script>LazyLoad();PrismLoad();owoLoad();<?php $this->options->jsEcho(); ?></script>
+ <script>LazyLoad();PrismLoad();<?php if($this->is('post') || $this->is('page')): ?>owoLoad();<?php endif; ?>panguLoad();<?php $this->options->jsEcho(); ?></script>
<?php $this->footer(); ?>
</body>
</html> \ No newline at end of file