mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
fix(edit) setMenu: try to show before MenuIO loaded
This commit is contained in:
parent
38ebf18e1b
commit
3b4aa37413
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward;
|
|||
|
||||
if (error) {
|
||||
alert(error);
|
||||
} else if (!Menu) {
|
||||
} else if (!Menu && MenuIO) {
|
||||
Menu = new MenuIO(Element, options, menuData);
|
||||
Menu.show(position.x, position.y);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue