mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-02 14:29:55 +00:00
Update widget.js
This commit is contained in:
parent
893edf9ae3
commit
d6b9d00ef7
@ -553,7 +553,6 @@ Widget.prototype.makeChildWidget = function(parseTreeNode,options) {
|
|||||||
var WidgetClass = this.widgetClasses[parseTreeNode.type];
|
var WidgetClass = this.widgetClasses[parseTreeNode.type];
|
||||||
if(!WidgetClass) {
|
if(!WidgetClass) {
|
||||||
WidgetClass = this.widgetClasses.text;
|
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 + "'"};
|
parseTreeNode = {type: "text", text: "Undefined widget '" + parseTreeNode.type + "'"};
|
||||||
}
|
}
|
||||||
// Create set variable widgets for each variable
|
// Create set variable widgets for each variable
|
||||||
|
Loading…
Reference in New Issue
Block a user