Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
Removed this keyword becasuse only one search input is being used
  • Loading branch information
Tobiasz Gala committed Oct 19, 2017
1 parent 8717559 commit 36107b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,5 +192,5 @@ showButtons(studentList);
// bind event listener to search input
searchInput.addEventListener('keyup', function() {
// pass search input value in upper case for better results
searchElements(this.value.toUpperCase());
searchElements(searchInput.value.toUpperCase());
});

0 comments on commit 36107b6

Please sign in to comment.