From 93f4248077f662037923ecde67a34321f81ed11c Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Sat, 21 Mar 2020 00:20:01 +0800 Subject: [PATCH] fix #193 --- _config.yml | 4 ++-- source/js/app.js | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/_config.yml b/_config.yml index 5dac6c106..143256ea5 100755 --- a/_config.yml +++ b/_config.yml @@ -4,8 +4,8 @@ info: version: '2.2.0' docs: https://volantis.js.org/ cdn: # To use CDN, write 'use_cdn: true' in 'blog/_config.yml'. - css: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@2.2.0.1/css/style.css - js: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@2.2.0.1/js/app.js + css: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@2.2.0.2/css/style.css + js: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@2.2.0.2/js/app.js ############################### Style ############################### diff --git a/source/js/app.js b/source/js/app.js index 0f41dc1e9..9727ea76a 100755 --- a/source/js/app.js +++ b/source/js/app.js @@ -192,10 +192,6 @@ var customSearch; $header.removeClass('z_search-open'); $switcher.removeClass('active'); }); - $(document, window).scroll(() => { - $header.removeClass('z_search-open'); - $switcher.removeClass('active'); - }); $search.click(function (e) { e.stopPropagation(); });