mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Fix incorrect shortcut keys in info tips
This commit is contained in:
parent
db0ff74857
commit
5c31bd54e4
@ -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