mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(listeners) contextMenu: event is undefined
This commit is contained in:
parent
8ac7231e74
commit
a2eb14a79b
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ var Util, DOM, CloudFunc, CloudCmd;
|
|||
}
|
||||
|
||||
function contextMenu() {
|
||||
Events.addOnce('contextmenu', DOM.getFM(), function() {
|
||||
Events.addOnce('contextmenu', DOM.getFM(), function(event) {
|
||||
CloudCmd.Menu.show({
|
||||
x: event.clientX,
|
||||
y: event.clientY
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue