Make Palette search Case InSeNsItIve

fix to close #496
This commit is contained in:
Dave C-J 2014-12-09 14:37:32 +00:00
parent 8c5fab61e6
commit 6fc3aab907
1 changed files with 18 additions and 18 deletions

View File

@ -227,7 +227,7 @@ RED.palette = (function() {
$("#palette-search-clear").show();
}
var re = new RegExp(val);
var re = new RegExp(val,'i');
$(".palette_node").each(function(i,el) {
if (val === "" || re.test(el.id)) {
$(this).show();