fix name handling in bindkey
This commit is contained in:
parent
5f8fc32dbc
commit
af8149098c
1 changed files with 1 additions and 1 deletions
|
|
@ -73,7 +73,7 @@ function HashHandler(config, platform) {
|
|||
if(!key)
|
||||
return;
|
||||
if (typeof command == "function") {
|
||||
this.addCommand({exec: command, bindKey: key, name: key});
|
||||
this.addCommand({exec: command, bindKey: key, name: command.name || key});
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue