| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -88,7 +88,9 @@ function render({ model, el }) { | |||
| 88 | 88 | const totalPages = Math.ceil(rowCount / pageSize); | |
| 89 | 89 | ||
| 90 | 90 | rowCountLabel.textContent = `${rowCount.toLocaleString()} total rows`; | |
| 91 | - paginationLabel.textContent = `Page ${currentPage + 1} of ${totalPages || 1}`; | ||
| 91 | + paginationLabel.textContent = `Page ${( | ||
| 92 | + currentPage + 1 | ||
| 93 | + ).toLocaleString()} of ${(totalPages || 1).toLocaleString()}`; | ||
| 92 | 94 | prevPage.disabled = currentPage === 0; | |
| 93 | 95 | nextPage.disabled = currentPage >= totalPages - 1; | |
| 94 | 96 | pageSizeSelect.value = pageSize; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments