mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-22 00:15:46 +01:00
Fix duplicate plugin help entries. Closes issue #51.
This commit is contained in:
@@ -496,7 +496,7 @@ const Dactyl = Module("dactyl", {
|
||||
|
||||
let body = XML();
|
||||
for (let [, context] in Iterator(plugins.contexts))
|
||||
if (context.INFO instanceof XML)
|
||||
if (context && context.INFO instanceof XML)
|
||||
body += <h2 xmlns={NS.uri} tag={context.INFO.@name + '-plugin'}>{context.INFO.@summary}</h2> +
|
||||
context.INFO;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user