mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
feature(edit) setMenu: preventDefault
This commit is contained in:
parent
4f5b34eff5
commit
ca1f7c6a26
1 changed files with 2 additions and 0 deletions
|
|
@ -162,6 +162,8 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO, Format, edward;
|
|||
y: event.clientY
|
||||
};
|
||||
|
||||
event.preventDefault();
|
||||
|
||||
if (!Menu) {
|
||||
DOM.loadRemote('menu', function(error) {
|
||||
var options = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue