mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
9 lines
244 B
JavaScript
9 lines
244 B
JavaScript
List.updatePagination = function(list) {
|
|
pagination = list.listContainer.querySelector(".pagination");
|
|
if (pagination.childElementCount <= 1) {
|
|
pagination.classList.add("hide");
|
|
} else {
|
|
pagination.classList.remove("hide");
|
|
}
|
|
}
|