mirror of
https://github.com/AngelJumbo/gruvbox-wallpapers.git
synced 2026-08-05 13:42:28 +00:00
Fixed pager button
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user