Fix: player list manager
This commit is contained in:
@@ -9,8 +9,10 @@
|
||||
this.lastPageNo = 1;
|
||||
}
|
||||
|
||||
updateNavigator(playerCount) {
|
||||
this.lastPageNo = Math.ceil( (playerCount + 1) / 10 );
|
||||
updateNavigator(activePageNo, lastPageNo) {
|
||||
this.activePageNo = activePageNo;
|
||||
this.lastPageNo = lastPageNo;
|
||||
// this.lastPageNo = Math.ceil( (playerCount + 1) / 10 );
|
||||
|
||||
$(this.pageNoArea).empty();
|
||||
|
||||
@@ -49,7 +51,4 @@
|
||||
this.playerList.loadPlayerListPage(this.activePageNo);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user