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
1 changed files with 1 additions and 1 deletions

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);