Skip to content

Commit

Permalink
Remove unneeded save_scroll of minify
Browse files Browse the repository at this point in the history
  • Loading branch information
1v9 authored Aug 3, 2019
1 parent 97ec251 commit 146bac4
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions scripts/filters/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
Expand Down

0 comments on commit 146bac4

Please sign in to comment.