Spaces:
Runtime error
Runtime error
Update public/script.js
Browse files- public/script.js +1 -1
public/script.js
CHANGED
|
@@ -27,7 +27,7 @@ function changePage(direction) {
|
|
| 27 |
}
|
| 28 |
|
| 29 |
function updatePageIndicator(totalPages) {
|
| 30 |
-
document.getElementById('page-indicator').textContent =
|
| 31 |
}
|
| 32 |
|
| 33 |
function debounce(func, delay) {
|
|
|
|
| 27 |
}
|
| 28 |
|
| 29 |
function updatePageIndicator(totalPages) {
|
| 30 |
+
document.getElementById('page-indicator').textContent = `${currentPage}/${totalPages}`;
|
| 31 |
}
|
| 32 |
|
| 33 |
function debounce(func, delay) {
|