From 64df81bc4541ce8d49349030ef2cac21c41fd017 Mon Sep 17 00:00:00 2001 From: coderiaser Date: Tue, 16 Sep 2025 17:11:32 +0300 Subject: [PATCH] fix: cloudcmd: client: listeners: f9: stopPropagation --- client/listeners/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/listeners/index.js b/client/listeners/index.js index 3e824a7b..1e3c9edf 100644 --- a/client/listeners/index.js +++ b/client/listeners/index.js @@ -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,