1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-23 03:37:39 +00:00

Make use of type attribute consistent

This commit is contained in:
jeremy@jermolene.com
2022-07-18 19:44:37 +01:00
parent 189fe428b7
commit 30f7b37cba
3 changed files with 44 additions and 4 deletions

View File

@@ -65,7 +65,7 @@ TranscludeWidget.prototype.execute = function() {
// Set the legacy transclusion context variables only if we're not transcluding a variable
if(!this.transcludeVariable) {
var recursionMarker = this.makeRecursionMarker();
this.setVariable("transclusion",recursionMarker);
this.setVariable("transclusion",recursionMarker);
}
// Construct the child widgets
this.makeChildWidgets(parseTreeNodes);
@@ -231,7 +231,8 @@ TranscludeWidget.prototype.getTransclusionTarget = function() {
this.transcludeIndex,
{
parseAsInline: parseAsInline,
subTiddler: this.transcludeSubTiddler
subTiddler: this.transcludeSubTiddler,
defaultType: this.transcludeType
});
}
// Return the parse tree