Fix: changed timezon function

This commit is contained in:
2019-06-05 02:35:40 +09:00
parent 1c7b934f04
commit 52275e0bc7
+4
View File
@@ -319,6 +319,10 @@ var Ranking = {
var recordTop10 = [];
var recordTop20 = [];
// timezone changed (ex: 2pm -> 3pm)
if(this.showingPageIndex * 20 > this.recordArray.length)
this.showingPageIndex = 0;
for(var i = 0; i < 10; i++) {
var index = this.showingPageIndex * 20 + i;
if(index < this.recordArray.length)