From e5db805157b2c7118ddfd3916e0427b2156e6e49 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Fri, 11 Jan 2019 22:18:33 +0100 Subject: Move the info summary in the info-box into nmsBox-logic Also some other random drive-by fixes :D Fixes #180 References #181 --- web/js/nms-ui-boxes.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'web/js/nms-ui-boxes.js') diff --git a/web/js/nms-ui-boxes.js b/web/js/nms-ui-boxes.js index dda77c9..3de8ff2 100644 --- a/web/js/nms-ui-boxes.js +++ b/web/js/nms-ui-boxes.js @@ -214,13 +214,9 @@ class nmsTable extends nmsBox { var td1; var td2; tr = new nmsBox("tr"); - tr.html.className = content[0].toLowerCase().replace(/[^a-z0-9_]/g,""); for (var x in content) { var td = new nmsBox("td"); var child = content[x]; - if (x == 0) { - td.html.classList.add("left"); - } if (child instanceof nmsBox) { td.add(child); } else { -- cgit v1.2.3