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

Handle mixed-cased filter terms in keyboard shortcut dialog

Fixes #3400
This commit is contained in:
Nick O'Leary 2022-02-14 20:59:43 +00:00
parent 264047dc0c
commit f2dde705ef
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9

View File

@ -625,7 +625,7 @@ RED.keyboard = (function() {
pane.find("#red-ui-settings-tab-keyboard-filter").searchBox({ pane.find("#red-ui-settings-tab-keyboard-filter").searchBox({
delay: 100, delay: 100,
change: function() { change: function() {
var filterValue = $(this).val().trim(); var filterValue = $(this).val().trim().toLowerCase();
if (filterValue === "") { if (filterValue === "") {
shortcutList.editableList('filter', null); shortcutList.editableList('filter', null);
} else { } else {