From: Jo-Philipp Wich Date: Mon, 16 May 2022 14:03:14 +0000 (+0200) Subject: luci-base: form.js: remove stray `
` elements from section placeholder X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=e4e001b59657e4cd0f333a3f43ce66b8f789deb2;p=openwrt-luci.git luci-base: form.js: remove stray `
` elements from section placeholder Theme CSS styles shoudl take care of introducing padding as needed. Signed-off-by: Jo-Philipp Wich --- 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 */