mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Taking the floor of a division
This commit is contained in:
@@ -174,7 +174,7 @@ var List = {
|
||||
$(".last_page").css("display", "none");
|
||||
}
|
||||
|
||||
$("#pageNumber").html((List.page / List.can_fit) + 1);
|
||||
$("#pageNumber").html(Math.floor((List.page / List.can_fit) + 1));
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user