minor: search blocked users on search, not button click
This commit is contained in:
parent
b112777a86
commit
1776bc8f44
1 changed files with 1 additions and 2 deletions
|
|
@ -9,9 +9,8 @@ chrome.storage.sync.get(['PolyPlus_Settings'], function (result) {
|
|||
`;
|
||||
BlockedUsersCard.insertBefore(InputGroup, BlockedUsersCard.children[0]);
|
||||
const SearchBar = document.getElementById('blocked-users-search');
|
||||
const ConfirmBtn = document.getElementById('blocked-users-confirm');
|
||||
|
||||
ConfirmBtn.addEventListener('click', function () {
|
||||
SearchBar.addEventListener('input', function () {
|
||||
SearchBlockedUsers(SearchBar.value);
|
||||
});
|
||||
|
||||
|
|
|
|||
Reference in a new issue