mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00: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
@ -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…
Reference in New Issue
Block a user