mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #2976 from kazuhitoyokoi/master-fixinfotips
Fix incorrect shortcut keys in info tips
This commit is contained in:
commit
f249d6306f
@ -477,7 +477,7 @@ RED.sidebar.info = (function() {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
while ((m=/(\[(.*?)\])/.exec(tip))) {
|
while ((m=/(\[([a-z]*?)\])/.exec(tip))) {
|
||||||
tip = tip.replace(m[1],RED.keyboard.formatKey(m[2]));
|
tip = tip.replace(m[1],RED.keyboard.formatKey(m[2]));
|
||||||
}
|
}
|
||||||
tipBox.html(tip).fadeIn(200);
|
tipBox.html(tip).fadeIn(200);
|
||||||
|
Loading…
Reference in New Issue
Block a user