mirror of https://github.com/itflow-org/itflow
Only show 8 notifications at a time instead of 10
This commit is contained in:
parent
4124188505
commit
dcca93e34f
|
|
@ -97,7 +97,7 @@ ob_start();
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
var perPage = 10;
|
var perPage = 8;
|
||||||
var $items = $(".notification-item");
|
var $items = $(".notification-item");
|
||||||
var totalItems = $items.length;
|
var totalItems = $items.length;
|
||||||
var totalPages = Math.ceil(totalItems / perPage);
|
var totalPages = Math.ceil(totalItems / perPage);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue