Skip to content

Commit

Permalink
fix: non case-sensitive search
Browse files Browse the repository at this point in the history
  • Loading branch information
mychaelgo committed May 1, 2020
1 parent 9dd1a8f commit 763214c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const filterItem = (item, filter) => {
return true
}

return item && item.toLowerCase().indexOf(filter) > -1
return item && item.toLowerCase().indexOf(filter.toLowerCase()) > -1
}

const getCurrentFileLocation = (title) => {
Expand Down

0 comments on commit 763214c

Please sign in to comment.