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:
parent
8fbc5759ad
commit
b3ae45cbde
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user