Uncomment page size selector in WI editor

This commit is contained in:
Cohee 2023-09-18 01:52:41 +03:00
parent e9c459690f
commit dc1c477d62
1 changed files with 3 additions and 4 deletions

View File

@ -268,10 +268,9 @@ function displayWorldEntries(name, data, navigation = navigation_option.none) {
const storageKey = 'WI_PerPage';
$("#world_info_pagination").pagination({
dataSource: getDataArray,
pageSize: 25,
//pageSize: Number(localStorage.getItem(storageKey)) || 25,
//sizeChangerOptions: [10, 25, 50, 100],
//showSizeChanger: true,
pageSize: Number(localStorage.getItem(storageKey)) || 25,
sizeChangerOptions: [10, 25, 50, 100],
showSizeChanger: true,
pageRange: 1,
pageNumber: startPage,
position: 'top',