Skip to content

Commit

Permalink
Make dot optional in search normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Mar 7, 2017
1 parent 3917430 commit 0d89d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
var searchInput = document.getElementById('function_filter');

function searchValue() {
return searchInput.value.trim().replace(/^_\./, '');
return searchInput.value.trim().replace(/^_\.?/, '');
}

function strIn(a, b) {
Expand Down

0 comments on commit 0d89d4d

Please sign in to comment.