mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 09:24:51 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
48fa8b4964
commit
1c9fe47711
1 changed files with 2 additions and 1 deletions
|
|
@ -81,7 +81,8 @@ CloudCommander.Menu.show = (function(pParent, pPosition){
|
|||
return function(){
|
||||
pParent.set();
|
||||
|
||||
$('li').contextMenu(pPosition.x, pPosition.y);
|
||||
$('li').contextMenu(pPosition ?
|
||||
(pPosition.x, pPosition.y) : () );
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue