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-oplog.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'web/js/nms-oplog.js') diff --git a/web/js/nms-oplog.js b/web/js/nms-oplog.js index 42452ff..33b2c00 100644 --- a/web/js/nms-oplog.js +++ b/web/js/nms-oplog.js @@ -65,12 +65,8 @@ class nmsOplogInput extends nmsBox { this.nmsBox.searchbox.oninput(); } this.add(this._systems) - // This is to provide spacing.... should probably be solved in CSS. - // If this annoys you, then fix it. - this.add(new nmsBox("p",{html:{textContent:" ",style:{display: "inline"}}})) this._entry = new nmsBox("input", {html:{className:"form-control",type:"text",size:"30",placeholder:"Log entry"}}); this.add(this._entry) - this.add(new nmsBox("p",{html:{textContent:" ",style:{display: "inline"}}})) var button = new nmsBox("button",{html:{className:"btn btn-default",type:"button"}}); button.html.textContent = "Log"; button.container = this; -- cgit v1.2.3