1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Searching package catalogue should be case-insensitive

Fixes #1010
This commit is contained in:
Nick O'Leary 2016-10-12 20:08:08 +01:00
parent ec392a7f9a
commit a76674032d

View File

@ -560,7 +560,7 @@ RED.palette.editor = (function() {
.searchBox({
delay: 300,
change: function() {
var searchTerm = $(this).val();
var searchTerm = $(this).val().toLowerCase();
if (searchTerm.length > 0) {
filteredList = loadedList.filter(function(m) {
return (m.index.indexOf(searchTerm) > -1);