mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 08:56:20 +00:00
Update lib/client/menu.js
This commit is contained in:
parent
b0e989ebdf
commit
fe990c292e
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ CloudCommander.Menu.dir = './lib/client/menu/';
|
|||
CloudCommander.Menu.getConfig = (function(){
|
||||
return{
|
||||
// define which elements trigger this menu
|
||||
selector: CloudCommander.CURRENT_FILE,
|
||||
selector: '.' + CloudCommander.CURRENT_FILE,
|
||||
// define the elements of the menu
|
||||
items: {
|
||||
foo: {name: "Foo", callback: function(key, opt){ alert("Foo!"); }},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue