1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00

Fix typo in macro variable substitution

This commit is contained in:
Jeremy Ruston 2013-10-21 18:31:41 +01:00
parent 167116d416
commit dc9c2522b9

View File

@ -126,7 +126,7 @@ Widget.prototype.substituteVariableParameters = function(text,formalParams,actua
Widget.prototype.substituteVariableReferences = function(text) {
var self = this;
return text.replace(/\$\(([^\)\$]+)\)\$/g,function(match,p1,offset,string) {
return self.getVariable(p1,"");
return self.getVariable(p1,null,"");
});
};