From 222bca0c0c84b53bc8d7d6b2bf5f06b9c4ba4984 Mon Sep 17 00:00:00 2001 From: Simon Lydell Date: Sun, 5 Jun 2016 19:24:36 +0200 Subject: [PATCH] Fix `[data-command]` being `undefined` in help dialog --- extension/lib/help.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/lib/help.coffee b/extension/lib/help.coffee index b674626..ec26194 100644 --- a/extension/lib/help.coffee +++ b/extension/lib/help.coffee @@ -123,7 +123,7 @@ createContent = (window, vimfx) -> for {command, name, enabledSequences} in category.commands commandContainer = $('command search-item', categoryContainer) - commandContainer.setAttribute('data-command', command.name) + commandContainer.setAttribute('data-command', name) commandContainer.onclick = goToCommandSetting.bind( null, window, vimfx, command ) -- 2.39.3