mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(listeners) onContextMenu: if menu showed in editor first - it would not be shown on a file
This commit is contained in:
parent
617f22b0d7
commit
5bfaa0f74c
1 changed files with 4 additions and 5 deletions
|
|
@ -189,11 +189,10 @@ var Util, DOM, CloudCmd, MenuIO;
|
|||
DOM.setCurrentFile(element);
|
||||
}
|
||||
|
||||
if (!MenuIO)
|
||||
Util.exec(CloudCmd.Menu.show, {
|
||||
x: event.clientX,
|
||||
y: event.clientY
|
||||
});
|
||||
Util.exec(CloudCmd.Menu, {
|
||||
x: event.clientX,
|
||||
y: event.clientY
|
||||
});
|
||||
|
||||
changePanel(element);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue