Commit 04525d8f authored by Ahmad Nemati's avatar Ahmad Nemati

git pull

parent 0a3c461f
......@@ -39,7 +39,7 @@ async function init() {
if (arrNew.length ===0)
arrNew.push({sum: sums, index: i,startDate:arr[i+1].date,date:arr[j].date})
else if (arrNew[arrNew.length-1].sum < sums)
else if (arrNew[arrNew.length-1].sum > sums)
arrNew.push({sum: sums, index: i,startDate:arr[i+1].date,date:arr[j].date})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment