Skip to content

Commit

Permalink
bug fix for incorrect looping in autocompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
kouralex committed Nov 11, 2019
1 parent 0311524 commit 6076aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/js/docready.js
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ $(function() { // DOCUMENT READY
hasNonHiddenMatch[hit.uri] = true;
} else if (hit.hiddenLabel) {
if (hasNonHiddenMatch[hit.uri]) {
delete data.results[i];
data.results.splice(i, 1);
}
hasNonHiddenMatch[hit.uri] = false;
}
Expand Down

0 comments on commit 6076aae

Please sign in to comment.