diff options
author | Kristian Lyngstol <kly@kly.no> | 2019-02-11 22:43:26 +0100 |
---|---|---|
committer | Kristian Lyngstol <kly@kly.no> | 2019-02-11 22:43:26 +0100 |
commit | 2f127cb1701ae4380e0a184ec68fe49f4a2343b1 (patch) | |
tree | ae1104e747fed4bb440c5f8e7248d68b1cec896c | |
parent | c402fc7c6fc39f3a690556aa036cb75fdc039bb4 (diff) |
front: Switch editing: Don't nest panel-body elements
It creates an extra margin that serves no purpose but to take up space.
-rw-r--r-- | web/js/nms-ui-switch.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |