Fixes unusuable mod ban list

This commit is contained in:
nonmakina 2021-01-09 18:01:58 -06:00
parent f9a6b584e1
commit 8cb33ade7f

View File

@ -36,7 +36,7 @@ $.fn.longtable = function(fields, options, data) {
}
}
el.css("width", fields[field].width);
el.css("height", options.row_h);
//el.css("height", options.row_h);
return el;
},
_gen_tr: function(id) {
@ -46,7 +46,7 @@ $.fn.longtable = function(fields, options, data) {
});
if (id !== undefined) {
el.addClass("row").addClass("row_"+id);
el.css({position: "absolute", top: options.row_h * (id+1)});
//el.css({position: "absolute", top: options.row_h * (id+1)});
}
return el;
},
@ -128,7 +128,7 @@ $.fn.longtable = function(fields, options, data) {
},
update_data: function() {
$(elem).height((data.length + 1) * options.row_h);
//$(elem).height((data.length + 1) * options.row_h);
lt._clean();
lt.update_viewport();