mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(edward) MenuIO
This commit is contained in:
parent
b65dfc663e
commit
dd1df950cc
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
var join, ace, Util, DOM, CloudCmd;
|
||||
var join, ace, Util, DOM, MenuIO, CloudCmd;
|
||||
|
||||
(function(global, join, DOM, exec, load) {
|
||||
'use strict';
|
||||
|
|
@ -209,7 +209,7 @@ var join, ace, Util, DOM, CloudCmd;
|
|||
if (error) {
|
||||
alert(error);
|
||||
} else if (!Menu) {
|
||||
Menu = new window.MenuIO(Element, options, menuData);
|
||||
Menu = new MenuIO(Element, options, menuData);
|
||||
Menu.show(position.x, position.y);
|
||||
|
||||
Element.removeEventListener('contextmenu', setMenu);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue