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:
4
public/dist/embed.min.js
vendored
4
public/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
2
public/dist/main.min.js
vendored
2
public/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -174,7 +174,7 @@ var List = {
|
|||||||
$(".last_page").css("display", "none");
|
$(".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