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