mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 12:07:19 +00:00
Invoke macros with this
set to the host widget
This commit is contained in:
parent
8fbc5759ad
commit
b3ae45cbde
@ -162,7 +162,7 @@ Widget.prototype.evaluateMacroModule = function(name,actualParams,defaultValue)
|
||||
// Save the parameter
|
||||
args.push(paramValue);
|
||||
}
|
||||
return macro.run.apply(null,args)
|
||||
return macro.run.apply(this,args)
|
||||
} else {
|
||||
return defaultValue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user