Commit 6643a4a9 authored by Ahmad Nemati's avatar Ahmad Nemati

git pu

parent 6339949a
...@@ -197,21 +197,15 @@ function addPoftrade(total, pfTrade) { ...@@ -197,21 +197,15 @@ function addPoftrade(total, pfTrade) {
} }
function addRunup(total, runUp) { function addRunup(total, runUp) {
try {
for (let i = 0; i < adder.length; i++)
if (adder[i].total === total) {
for (let z = 0; z < runUp.length; z++) {
adder[i].runUp.push(runUp[z])
}
for (let i = 0; i < adder.length; i++)
if (adder[i].total === total) {
for (let z = 0; z < runUp.length; z++) {
adder[i].runUp.push(runUp[z])
} }
}
catch (e)
{
console.log(e)
}
console.log(adder[i].run.length)
}
} }
......
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