mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-08 10:12:37 -08:00
Fix bug with importvariables and empty set widgets
A self-closing set widget doesn't have a "children" property.
This commit is contained in:
parent
dd62efd459
commit
136dbf1a60
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ ImportVariablesWidget.prototype.execute = function(tiddlerList) {
|
|||
params: parseTreeNode.params,
|
||||
isMacroDefinition: parseTreeNode.isMacroDefinition
|
||||
});
|
||||
parseTreeNode = parseTreeNode.children[0];
|
||||
parseTreeNode = parseTreeNode.children && parseTreeNode.children[0];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue