mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 23:03:50 +00:00
Simplify title operator
This commit is contained in:
parent
d20b02e606
commit
9453e3e2e2
@ -21,11 +21,7 @@ exports.title = function(source,operator,options) {
|
||||
}
|
||||
});
|
||||
} else {
|
||||
if(operator.isMultiValueOperand[0]) {
|
||||
Array.prototype.push.apply(results,operator.multiValueOperands[0]);
|
||||
} else {
|
||||
results.push(operator.operand);
|
||||
}
|
||||
Array.prototype.push.apply(results,operator.multiValueOperands[0]);
|
||||
}
|
||||
return results;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user