diff --git a/chrome/content/vimperator/completion.js b/chrome/content/vimperator/completion.js index bbc23617..20183cba 100644 --- a/chrome/content/vimperator/completion.js +++ b/chrome/content/vimperator/completion.js @@ -270,7 +270,7 @@ function get_help_completions(filter)/*{{{*/ $_[1] ]; })); - for (map in vimperator.mappings) + for (var map in vimperator.mappings) help_array.push([map.commands, map.short_help]) if (!filter) return help_array.map(function($_) { diff --git a/chrome/content/vimperator/help.js b/chrome/content/vimperator/help.js index 3fecdf30..d4d31f2f 100644 --- a/chrome/content/vimperator/help.js +++ b/chrome/content/vimperator/help.js @@ -168,10 +168,9 @@ function help(section, easter) '