Fix: graph bug
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user