Skip to content

Commit 64df81b

Browse files
committed
fix: cloudcmd: client: listeners: f9: stopPropagation
1 parent 8366b3b commit 64df81b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

client/listeners/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,6 @@ module.exports.initKeysPanel = () => {
112112
return;
113113

114114
Events.addClick(keysElement, (event) => {
115-
event.stopPropagation();
116-
117115
const {target} = event;
118116
const {id} = target;
119117

@@ -132,7 +130,10 @@ module.exports.initKeysPanel = () => {
132130
'f6': operation('move'),
133131
'f7': DOM.promptNewDir,
134132
'f8': operation('delete'),
135-
'f9': CloudCmd.Menu.show,
133+
'f9': () => {
134+
event.stopPropagation();
135+
CloudCmd.Menu.show();
136+
},
136137
'f10': CloudCmd.Config.show,
137138
'~': CloudCmd.Konsole.show,
138139
'shift~': CloudCmd.Terminal.show,

0 commit comments

Comments
 (0)