Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Show command name in menu if there's no shortcut

  • Loading branch information...
commit 3ee5b18503efe95eb89a523212c8d1dd1a322491 1 parent 8d0276f
Per Thulin authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/Menu.js
2  js/Menu.js
View
@@ -19,7 +19,7 @@ function Menu(happyEdit) {
var $li = HTML.createMenuOption({
title: command.title,
className: command.name,
- shortcut: Utils.getShortcutForCommand(command),
+ shortcut: Utils.getShortcutForCommand(command) || command.name,
callback: function() {
command.callback(null, function() {
self.hide();
Please sign in to comment.
Something went wrong with that request. Please try again.