From 146bac489efb8ca1e15277ee5aeefd0f3d8002ce Mon Sep 17 00:00:00 2001 From: 1v9 Date: Sat, 3 Aug 2019 20:38:12 +0800 Subject: [PATCH] Remove unneeded save_scroll of `minify` #1049 --- scripts/filters/minify.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/scripts/filters/minify.js b/scripts/filters/minify.js index 6c9db467ff..45285c1580 100644 --- a/scripts/filters/minify.js +++ b/scripts/filters/minify.js @@ -33,11 +33,6 @@ hexo.extend.filter.register('after_generate', () => { hexo.route.remove('js/exturl.js'); } - if (!theme.save_scroll) { - hexo.route.remove('js/js.cookie.js'); - hexo.route.remove('js/scroll-cookie.js'); - } - if (theme.vendors.jquery) { hexo.route.remove('lib/jquery/index.js'); }