diff options
| author | Eltrac <45323514+BigCoke233@users.noreply.github.com> | 2019-07-16 14:25:39 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-07-16 14:25:39 +0800 |
| commit | 3764fdbddb366789f1973e366e26045e8654d2e0 (patch) | |
| tree | a130aaa3583cf3c25db3f149d90a813d1b095f09 /includes | |
| parent | 3941316b8e3a2d828d75519f3cd0e5e4e50fd1ca (diff) | |
修复移动端导航点击后不自动收起的 bug
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/header.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/header.php b/includes/header.php index c43b4dd..cc1e962 100644 --- a/includes/header.php +++ b/includes/header.php @@ -34,7 +34,7 @@ <h2 class="mobile-menu-title">页面导航</h2> <div class="mobile-menu-pagelist"><div class="container-fluid"><div class="row"> <?php $this->widget('Widget_Contents_Page_List') - ->parse('<div class="col-6"><a href="{permalink}">{title}</a></div>'); ?> + ->parse('<div class="col-6"><a href="{permalink}" onclick="toggleMobileMenu()">{title}</a></div>'); ?> </div></div></div> <div class="mobile-menu-footer"> <p>© <?php echo date('Y'); ?> <a href="<?php $this->options->SiteUrl(); ?>"><?php $this->options->title(); ?></a> | Theme <a href="https://github.com/BigCoke233/miracles">Miracles</a></p> |
