mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-26 18:10:27 +00:00
Fixed tiddler exposure to evaluated parameters
This commit is contained in:
parent
ff8ef8b8d2
commit
0784d9754c
@ -139,7 +139,7 @@ Macro.prototype.execute = function(parents,tiddlerTitle) {
|
||||
}
|
||||
for(var p in this.srcParams) {
|
||||
if(typeof this.srcParams[p] === "function") {
|
||||
this.params[p] = this.srcParams[p](tiddler,this.wiki);
|
||||
this.params[p] = this.srcParams[p](tiddler.fields,this.wiki);
|
||||
} else {
|
||||
this.params[p] = this.srcParams[p];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user