mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(menu) MenuProto: add start position
This commit is contained in:
parent
36a6a77cca
commit
fd4b88b99b
1 changed files with 3 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
|
||||
CloudCmd.Menu = MenuProto;
|
||||
|
||||
function MenuProto() {
|
||||
function MenuProto(position) {
|
||||
var Name = 'Menu',
|
||||
Info = DOM.CurrentInfo,
|
||||
Loading = false,
|
||||
|
|
@ -46,7 +46,8 @@ var CloudCmd, Util, DOM, CloudFunc, $;
|
|||
|
||||
Images.hideLoad();
|
||||
|
||||
$('li').contextMenu(Position);
|
||||
$('li').contextMenu(position || Position);
|
||||
position = null;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue