Skip to content

Commit

Permalink
Merge pull request #5860 from perlpunk/search-event-listener
Browse files Browse the repository at this point in the history
Immediately search when clearing search field
  • Loading branch information
mergify[bot] authored Aug 15, 2024
2 parents ab9f78b + 7252863 commit 9a04e5e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions assets/javascripts/test_result.js
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ window.onload = function () {
const filter = filterLogLines.bind(null, searchBox);
searchBox.addEventListener('keyup', delay(filter), 1000);
searchBox.addEventListener('change', filter, false);
searchBox.addEventListener('search', filter, false);
};

function displaySearchInfo(text) {
Expand Down

0 comments on commit 9a04e5e

Please sign in to comment.