Skip to content

Commit

Permalink
Fix certain search failures
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-donnelly committed Aug 1, 2016
1 parent 0e3dee9 commit bec2532
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,9 @@ function getClients(token) {
if (entity[matchingTermsCopy[j]] !== null){
result = entity[matchingTermsCopy[j]].match(userRegex);
}
else {
result = null;
}
if (result !== null) {
// We found a match. Figure out how long it is.
matchLength = result[0].length;
Expand Down

0 comments on commit bec2532

Please sign in to comment.