mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-16 00:59:07 +02:00
Update the icon state as well if the search box is emptied
This commit is contained in:
parent
366bc21c5c
commit
b5df43cfbf
@ -538,10 +538,10 @@
|
||||
var value = e.target.value;
|
||||
if (value) {
|
||||
$search.classList.add('search--active');
|
||||
search(value);
|
||||
} else {
|
||||
$search.classList.remove('search--active');
|
||||
}
|
||||
search(value);
|
||||
}, 250), false);
|
||||
$searchClose.addEventListener('click', function(e) {
|
||||
e.stopPropagation();
|
||||
|
Loading…
Reference in New Issue
Block a user