Hot fix
This commit is contained in:
parent
ebd1d4a227
commit
885ea1eb5d
|
@ -3,11 +3,16 @@
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
$(() => {
|
||||||
|
const queries = parseQueryString();
|
||||||
|
if(!queries.page) {
|
||||||
|
window.location.search = '?page=1';
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
const pages = Math.ceil(parseFloat(<?= $pageCount ?>));
|
const pages = Math.ceil(parseFloat(<?= $pageCount ?>));
|
||||||
$('.pagination').twbsPagination({
|
$('.pagination').twbsPagination({
|
||||||
visiblePages: 10,
|
visiblePages: 10,
|
||||||
// prevText: '<span aria-hidden="true">«</span>',
|
|
||||||
// nextText: '<span aria-hidden="true">»</span>',
|
|
||||||
totalPages: pages,
|
totalPages: pages,
|
||||||
first: '<i class="fa fa-angle-double-left"></i>',
|
first: '<i class="fa fa-angle-double-left"></i>',
|
||||||
prev: '<i class="fa fa-angle-left"></i>',
|
prev: '<i class="fa fa-angle-left"></i>',
|
||||||
|
|
Reference in New Issue
Block a user