mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(user-menu) F1 and F keys overlapping
This commit is contained in:
parent
9149f77a37
commit
fc8eda07f7
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ module.exports.show = show;
|
|||
module.exports.hide = hide;
|
||||
|
||||
const getKey = (a) => a.split(' - ')[0];
|
||||
const beginWith = (a) => (b) => !b.indexOf(a);
|
||||
const beginWith = (a) => (b) => a === getKey(b);
|
||||
|
||||
const {CurrentInfo} = DOM;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue