summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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});