1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 20:10:03 +00:00

Invoke macros with this set to the host widget

This commit is contained in:
Jeremy Ruston 2013-10-25 22:29:28 +01:00
parent 8fbc5759ad
commit b3ae45cbde

View File

@ -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;
}