1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Fix typo in x-listops.js (#5171)

This commit is contained in:
Saq Imtiaz 2020-12-01 19:14:07 +01:00 committed by GitHub
parent cc1f32067f
commit 4079f72310
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ Extended filter operators to manipulate the current list.
if(operands.length > 1) { if(operands.length > 1) {
results.splice(resultsIndex,1,operands[nextOperandIndex]); results.splice(resultsIndex,1,operands[nextOperandIndex]);
} else { } else {
results.splice(resultsIndex,1,); results.splice(resultsIndex,1);
} }
} else { } else {
results.push(operands[0]); results.push(operands[0]);
@ -232,4 +232,4 @@ Extended filter operators to manipulate the current list.
return cycleValueInArray(results,operands,step); return cycleValueInArray(results,operands,step);
} }
})(); })();