pages switch update for small amount of alarms
This commit is contained in:
parent
cc01af1b03
commit
13dcf2fb1c
@ -291,7 +291,7 @@
|
||||
countMax = Math.ceil(data.total / 14);
|
||||
|
||||
var currentPage = parseInt(pageNumberInput.value, 10);
|
||||
if (currentPage === countMax || currentPage > countMax) {
|
||||
if (currentPage > countMax) {
|
||||
pageNumberInput.value = countMax;
|
||||
requestUpdate();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user