diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-05-16 16:03:14 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-05-16 16:03:14 +0200 |
commit | e4e001b59657e4cd0f333a3f43ce66b8f789deb2 (patch) | |
tree | 7f4211742162818cffb2fb50965ac0803face8fc /modules/luci-base/htdocs | |
parent | 3be479446bdeaf446468c5e7ac3b9bc49da023da (diff) |
luci-base: form.js: remove stray `<br>` elements from section placeholder
Theme CSS styles shoudl take care of introducing padding as needed.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/htdocs')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/form.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index a09c805938..58f5a07fd6 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -2273,10 +2273,7 @@ var CBITypedSection = CBIAbstractSection.extend(/** @lends LuCI.form.TypedSectio /** @private */ renderSectionPlaceholder: function() { - return E([ - E('em', _('This section contains no values yet')), - E('br'), E('br') - ]); + return E('em', _('This section contains no values yet')); }, /** @private */ |