1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-02 14:29:55 +00:00

Update widget.js

This commit is contained in:
lin onetwo 2024-08-05 01:34:33 +08:00
parent 893edf9ae3
commit d6b9d00ef7

View File

@ -553,7 +553,6 @@ Widget.prototype.makeChildWidget = function(parseTreeNode,options) {
var WidgetClass = this.widgetClasses[parseTreeNode.type];
if(!WidgetClass) {
WidgetClass = this.widgetClasses.text;
// Skip void node that is not intended for render. Show error for missing widgets.
parseTreeNode = {type: "text", text: "Undefined widget '" + parseTreeNode.type + "'"};
}
// Create set variable widgets for each variable