mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-07-21 19:32:50 +00:00
Fixed problem with wildcard references in recipes not working if no tiddler files are found
This commit is contained in:
parent
c2e99647d0
commit
34fb32b81c
@ -171,6 +171,7 @@ Recipe.prototype.chooseTiddlers = function(recipe) {
|
|||||||
this.markers[recipeLine.marker] = [];
|
this.markers[recipeLine.marker] = [];
|
||||||
markerArray = this.markers[recipeLine.marker];
|
markerArray = this.markers[recipeLine.marker];
|
||||||
}
|
}
|
||||||
|
if(recipeLine.tiddlers) {
|
||||||
// Process each of the tiddlers referenced by the recipe line
|
// Process each of the tiddlers referenced by the recipe line
|
||||||
for(var t=0; t<recipeLine.tiddlers.length; t++) {
|
for(var t=0; t<recipeLine.tiddlers.length; t++) {
|
||||||
// Only add the tiddler to the marker if it isn't already there
|
// Only add the tiddler to the marker if it isn't already there
|
||||||
@ -188,6 +189,7 @@ Recipe.prototype.chooseTiddlers = function(recipe) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user