mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-26 12:14:51 +00:00
Fix: variables in functions should not pollute upstream widgets (#8641)
This commit is contained in:
@@ -335,7 +335,7 @@ Widget.prototype.makeFakeWidgetWithVariables = function(variables) {
|
||||
};
|
||||
} else {
|
||||
opts = opts || {};
|
||||
opts.variables = $tw.utils.extend(variables,opts.variables);
|
||||
opts.variables = $tw.utils.extend({},variables,opts.variables);
|
||||
return self.getVariableInfo(name,opts);
|
||||
};
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user