From 2f127cb1701ae4380e0a184ec68fe49f4a2343b1 Mon Sep 17 00:00:00 2001 From: Kristian Lyngstol Date: Mon, 11 Feb 2019 22:43:26 +0100 Subject: front: Switch editing: Don't nest panel-body elements It creates an extra margin that serves no purpose but to take up space. --- web/js/nms-ui-switch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/js') diff --git a/web/js/nms-ui-switch.js b/web/js/nms-ui-switch.js index f66a2b2..b7cbc7c 100644 --- a/web/js/nms-ui-switch.js +++ b/web/js/nms-ui-switch.js @@ -28,7 +28,7 @@ class nmsNewNet extends nmsPanel { class nmsModThing extends nmsBox { constructor(data) { - super("div",{html:{className: "panel-body"}}); + super("div"); this.identifier = data.identifier; this.invalidate = data.invalidate; this.api = data.api; -- cgit v1.2.3