From dc1c477d62bde814f89870f29ed69e471a663314 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Mon, 18 Sep 2023 01:52:41 +0300 Subject: [PATCH] Uncomment page size selector in WI editor --- public/scripts/world-info.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index 90e999e1f..524215893 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -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',