mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
Fix height calculation in acl.js
This commit is contained in:
parent
ac4c17dd4c
commit
a7db0ed071
1 changed files with 1 additions and 1 deletions
|
@ -258,7 +258,7 @@ ACL.prototype.get = function(start,count, search){
|
|||
}
|
||||
|
||||
ACL.prototype.populate = function(data){
|
||||
var height = Math.ceil(data.tot / that.nw) * 42;
|
||||
var height = Math.ceil(data.items.length / that.nw) * 42;
|
||||
that.list_content.height(height);
|
||||
$(data.items).each(function(){
|
||||
html = "<div class='acl-list-item {4} {7} {5}' title='{6}' id='{2}{3}'>"+that.item_tpl+"</div>";
|
||||
|
|
Loading…
Reference in a new issue