mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-11-26 01:00:27 +02:00
Apply trim() on the search input
This commit is contained in:
parent
f1b7c69593
commit
69ae7706aa
@ -521,7 +521,7 @@
|
||||
}
|
||||
|
||||
function search(value) {
|
||||
value = value.toLowerCase();
|
||||
value = value.toLowerCase().trim();
|
||||
|
||||
icons.forEach(function(e, i) {
|
||||
if (e.indexOf(value) > -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user