refactor(client) listeners: rm initF2

This commit is contained in:
coderaiser 2021-11-22 20:15:51 +02:00
parent 18eeec0165
commit b9b4af0454

View file

@ -125,7 +125,7 @@ module.exports.initKeysPanel = () => {
const clickFuncs = {
'f1' : CloudCmd.Help.show,
'f2' : initF2,
'f2' : CloudCmd.UserMenu.show,
'f3' : CloudCmd.View.show,
'f4' : CloudCmd.EditFile.show,
'f5' : operation('copy'),
@ -143,10 +143,6 @@ module.exports.initKeysPanel = () => {
});
};
function initF2() {
CloudCmd.UserMenu.show();
}
const getPanel = (side) => {
if (!itype.string(side))
return side;