Skip to content

Commit

Permalink
No window. needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon Wedell committed Apr 17, 2019
1 parent 5834c74 commit 1792406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/mixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ $("#compound_search").autocomplete({
function (response_original) {
const response = [];
for (i = 0; i < response_original.length; i++) {
if (window.valid_entries.indexOf(response_original[i].value) >= 0) {
if (valid_entries.indexOf(response_original[i].value) >= 0) {
response.push(response_original[i]);
}
}
Expand Down

0 comments on commit 1792406

Please sign in to comment.