mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix: cloudcmd: client: listeners: f9: stopPropagation
This commit is contained in:
parent
8366b3bbe2
commit
64df81bc45
1 changed files with 4 additions and 3 deletions
|
|
@ -112,8 +112,6 @@ module.exports.initKeysPanel = () => {
|
|||
return;
|
||||
|
||||
Events.addClick(keysElement, (event) => {
|
||||
event.stopPropagation();
|
||||
|
||||
const {target} = event;
|
||||
const {id} = target;
|
||||
|
||||
|
|
@ -132,7 +130,10 @@ module.exports.initKeysPanel = () => {
|
|||
'f6': operation('move'),
|
||||
'f7': DOM.promptNewDir,
|
||||
'f8': operation('delete'),
|
||||
'f9': CloudCmd.Menu.show,
|
||||
'f9': () => {
|
||||
event.stopPropagation();
|
||||
CloudCmd.Menu.show();
|
||||
},
|
||||
'f10': CloudCmd.Config.show,
|
||||
'~': CloudCmd.Konsole.show,
|
||||
'shift~': CloudCmd.Terminal.show,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue