Fixed pager button

This commit is contained in:
Katy248
2024-06-05 13:12:07 +00:00
parent 841e75f581
commit cf81ba31f9
+1 -1
View File
@@ -89,7 +89,7 @@ do
countImgs=$(find "$subdir" -type f | wc -l)
countImgs=$((countImgs - 1))
for i in $(seq 1 $((( $countImgs / $maxPerPage)+1))); do
echo "<button class='btn pager-btn' onclick='loadPage('$section', $i)'>$i</button>" >> ./index.html
echo "<button class='btn pager-btn' onclick='loadPage(\"$section\", $i)'>$i</button>" >> ./index.html
done
echo "</div>" >> ./index.html
echo "<div id='$section-content'>" >> ./index.html