mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
parent
8c5fab61e6
commit
6fc3aab907
@ -227,7 +227,7 @@ RED.palette = (function() {
|
|||||||
$("#palette-search-clear").show();
|
$("#palette-search-clear").show();
|
||||||
}
|
}
|
||||||
|
|
||||||
var re = new RegExp(val);
|
var re = new RegExp(val,'i');
|
||||||
$(".palette_node").each(function(i,el) {
|
$(".palette_node").each(function(i,el) {
|
||||||
if (val === "" || re.test(el.id)) {
|
if (val === "" || re.test(el.id)) {
|
||||||
$(this).show();
|
$(this).show();
|
||||||
|
Loading…
Reference in New Issue
Block a user