mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
refactor(client) listeners: rm initF2
This commit is contained in:
parent
18eeec0165
commit
b9b4af0454
1 changed files with 1 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue