aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/nms-ui-boxes.js
diff options
context:
space:
mode:
authorKristian Lyngstol <kly@kly.no>2019-01-11 22:18:33 +0100
committerKristian Lyngstol <kly@kly.no>2019-01-11 22:18:33 +0100
commite5db805157b2c7118ddfd3916e0427b2156e6e49 (patch)
treebdf57012c0e8224cdeb2467969e89b6fc348158e /web/js/nms-ui-boxes.js
parenta4919da3a91236131f7b4e084761ff6a5f73b94f (diff)
Move the info summary in the info-box into nmsBox-logic
Also some other random drive-by fixes :D Fixes #180 References #181
Diffstat (limited to 'web/js/nms-ui-boxes.js')
-rw-r--r--web/js/nms-ui-boxes.js4
1 files changed, 0 insertions, 4 deletions
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 {