From 38dc1de2cc43f0ff35fe17085cf8f80aaf14c987 Mon Sep 17 00:00:00 2001 From: StevenJoeZhang <1119186082@qq.com> Date: Wed, 9 Oct 2019 13:17:04 +0800 Subject: [PATCH] Optimize the behavior of back2top and a[role="button"] --- layout/_partials/header/menu.swig | 2 +- layout/_partials/widgets.swig | 2 +- .../components/back-to-top-sidebar.styl | 19 ++++++------------- source/js/bookmark.js | 3 +-- source/js/local-search.js | 3 +-- 5 files changed, 10 insertions(+), 19 deletions(-) diff --git a/layout/_partials/header/menu.swig b/layout/_partials/header/menu.swig index 479b9cdfc2..2773869616 100644 --- a/layout/_partials/header/menu.swig +++ b/layout/_partials/header/menu.swig @@ -23,7 +23,7 @@ {%- if hasSearch %}