summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2023-11-18 10:58:32 +0100
committerTom Smeding <tom@tomsmeding.com>2023-11-18 10:58:32 +0100
commitac8f150745ff1cc1d0b6fb4895bf9b7c4ef37f8d (patch)
tree91885f7d0e49aec35f328858809553286afd3d71
parent616a059ee11b1450401bd4a6d2ce0afa4671cd3c (diff)
more
-rw-r--r--modules/changes/changes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/changes/changes.js b/modules/changes/changes.js
index 1136a82..b1feba3 100644
--- a/modules/changes/changes.js
+++ b/modules/changes/changes.js
@@ -340,7 +340,7 @@ module.exports=function(app,io,_moddir){
}
var orig_tl=urls[url].timeline;
var tl=new Array(orig_tl.length);
- for(var j=0;j<orig_tl.length;j++){
+ for(var i=0;i<orig_tl.length;i++){
tl[i]=[orig_tl[0],orig_tl[1]];
}
res.json({url:urls[url].url,timeline:tl});