mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-27 21:57:39 +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:
@@ -66,7 +66,7 @@ ImportVariablesWidget.prototype.execute = function(tiddlerList) {
|
|||||||
params: parseTreeNode.params,
|
params: parseTreeNode.params,
|
||||||
isMacroDefinition: parseTreeNode.isMacroDefinition
|
isMacroDefinition: parseTreeNode.isMacroDefinition
|
||||||
});
|
});
|
||||||
parseTreeNode = parseTreeNode.children[0];
|
parseTreeNode = parseTreeNode.children && parseTreeNode.children[0];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user