Skip to content

Commit

Permalink
Update archive.js
Browse files Browse the repository at this point in the history
fixbug:直接进入标签页,不带任何标签时,无法展示所有标签
  • Loading branch information
nancheung committed Jan 18, 2020
1 parent 5b67398 commit 86735c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/js/archive.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ https://github.com/kitian616/jekyll-TeXt-theme
_tag = query.tag;

init();
_tag = decodeURI(_tag);
if(_tag) _tag = decodeURI(_tag);
tagSelect(_tag);

$tags.on('click', 'a', function() { /* only change */
Expand Down

0 comments on commit 86735c6

Please sign in to comment.