1
0
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:
Kris Maglione
2010-10-06 11:52:57 -04:00
parent 97f043d32f
commit f8dc6097aa
2 changed files with 14 additions and 13 deletions

View File

@@ -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;