mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
fix(menu) beforeShow: name -> params.name
This commit is contained in:
parent
7a39c27316
commit
86b2bfdcb3
1 changed files with 5 additions and 4 deletions
|
|
@ -133,10 +133,11 @@ var CloudCmd, Util, DOM, CloudFunc, MenuIO;
|
|||
}
|
||||
|
||||
function beforeShow(callback, params) {
|
||||
var notShow = DOM.getCurrentByPosition({
|
||||
x: params.x,
|
||||
y: params.y
|
||||
});
|
||||
var name = params.name,
|
||||
notShow = DOM.getCurrentByPosition({
|
||||
x: params.x,
|
||||
y: params.y
|
||||
});
|
||||
|
||||
if (params.name === 'contextFile') {
|
||||
notShow = !notShow;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue