Skip to content

Commit

Permalink
fixed tag not being pushed into selectedTags
Browse files Browse the repository at this point in the history
  • Loading branch information
juliankrieger committed Dec 17, 2018
1 parent e72c998 commit c698859
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions javascripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
let selTags = ($('.tags-filter').val() || [])
const selectedTag = preparePopTagName($(this).text() || "");
if (selectedTag){
selTags.push(selectedTag)
location.href = updateQueryStringParameter(
getFilterUrl(), 'tags', encodeURIComponent((selTags)));
}
Expand Down

0 comments on commit c698859

Please sign in to comment.