From e55854ebd8a385d153a48af44e88d23d8c230c52 Mon Sep 17 00:00:00 2001 From: nonmakina Date: Sat, 9 Jan 2021 18:01:58 -0600 Subject: [PATCH 1/3] Fixes unusuable mod ban list --- js/longtable/longtable.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/longtable/longtable.js b/js/longtable/longtable.js index fe3ad1c6..1f20fb8d 100644 --- a/js/longtable/longtable.js +++ b/js/longtable/longtable.js @@ -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(); From d6199aa3ac17450ec4090a69363804a874bd0fd9 Mon Sep 17 00:00:00 2001 From: nonmakina Date: Sat, 9 Jan 2021 18:14:33 -0600 Subject: [PATCH 2/3] Makes board log usable --- inc/instance-config.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/instance-config.php b/inc/instance-config.php index eca5bb01..152c6c97 100644 --- a/inc/instance-config.php +++ b/inc/instance-config.php @@ -110,6 +110,7 @@ $config['mod']['move'] = MOD; $config['mod']['editpost'] = MOD; // Raw HTML posting $config['mod']['rawhtml'] = MOD; +$config['mod']['mod_board_log'] = MOD; // Max attachments per post $config['max_images'] = 5; From b936189e9bd2c11c76e006ad02311be27aea7672 Mon Sep 17 00:00:00 2001 From: nonmakina Date: Sun, 10 Jan 2021 19:48:23 -0600 Subject: [PATCH 3/3] Deletes dead code --- js/longtable/longtable.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/js/longtable/longtable.js b/js/longtable/longtable.js index 1f20fb8d..b557d5c5 100644 --- a/js/longtable/longtable.js +++ b/js/longtable/longtable.js @@ -36,7 +36,6 @@ $.fn.longtable = function(fields, options, data) { } } el.css("width", fields[field].width); - //el.css("height", options.row_h); return el; }, _gen_tr: function(id) { @@ -46,7 +45,6 @@ $.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)}); } return el; }, @@ -128,7 +126,6 @@ $.fn.longtable = function(fields, options, data) { }, update_data: function() { - //$(elem).height((data.length + 1) * options.row_h); lt._clean(); lt.update_viewport();