1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-05-31 21:54:08 +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 // Save the parameter
args.push(paramValue); args.push(paramValue);
} }
return macro.run.apply(null,args) return macro.run.apply(this,args)
} else { } else {
return defaultValue; return defaultValue;
} }