fix(user-menu) F1 and F keys overlapping

This commit is contained in:
coderaiser 2019-05-24 19:14:51 +03:00
parent 9149f77a37
commit fc8eda07f7

View file

@ -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;