add subTiddler option value

This commit is contained in:
BurningTreeC 2024-03-30 15:33:29 +01:00
parent c557789100
commit b3bea95517
1 changed files with 3 additions and 2 deletions

View File

@ -32,11 +32,12 @@ ViewWidget.prototype.render = function(parent,nextSibling) {
this.execute();
var textNode;
if(this.viewUpdate && this.viewWikified) {
this.fakeWidget = this.wiki.makeTranscludeWidget(this.viewSubtiddler || this.viewTitle,{
this.fakeWidget = this.wiki.makeTranscludeWidget(this.viewTitle,{
document: $tw.fakeDocument,
field: this.viewField,
parseAsInline: this.viewMode !== "block",
parentWidget: this
parentWidget: this,
subTiddler: this.viewSubtiddler
});
this.fakeNode = $tw.fakeDocument.createElement("div");
this.fakeWidget.makeChildWidgets();