Fix: graph bug

This commit is contained in:
2018-09-14 23:45:09 +09:00
parent 441b9513bf
commit 53e3dbb3bc
+1 -1
View File
@@ -75,7 +75,7 @@ HistoryRecordManager.prototype.getBestRecordArray = function() {
// for(var data of this.historyRecords) {
// numberArray.push(data.bestRecord);
// }
for(var i = 0; i < this.historyRecords.count; i++) {
for(var i = 0; i < this.historyRecords.length; i++) {
var data = this.historyRecords[i];
numberArray.push(data.bestRecord);
}