fix
This commit is contained in:
parent
63e39f8b03
commit
9111e1bbe1
@ -75,10 +75,10 @@ angular.module("AdLinApp")
|
||||
if (login[0] == "$") return;
|
||||
tmpstats.total++;
|
||||
angular.forEach(challenges, function(ch, chid) {
|
||||
if (ch.time) {
|
||||
if (ch.time && challenges[chid] !== undefined) {
|
||||
challenges[chid].time = new Date(ch.time);
|
||||
challenges[chid].recent = (Date.now() - ch.time)/1000;
|
||||
if (recent < challenges[chid].time)
|
||||
if (recent < challenges[chid].time && tmpstats[chid] !== undefined)
|
||||
tmpstats[chid].success++;
|
||||
}
|
||||
if (tmpstats[chid] !== undefined)
|
||||
|
Reference in New Issue
Block a user