mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
parent
08b21b5076
commit
e39663ede3
@ -176,7 +176,7 @@ WikiRenderTree.prototype.substituteParameters = function(macroDefinition,macroCa
|
||||
}
|
||||
}
|
||||
// If not, use the next available anonymous macro call parameter
|
||||
if(!paramValue && macroCallParseTreeNode.params.length > 0) {
|
||||
if(!paramValue && nextAnonParameter < macroCallParseTreeNode.params.length) {
|
||||
while(macroCallParseTreeNode.params[nextAnonParameter].name && nextAnonParameter < macroCallParseTreeNode.params.length-1) {
|
||||
nextAnonParameter++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user