projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be4794
)
luci-base: form.js: remove stray `<br>` elements from section placeholder
author
Jo-Philipp Wich
<jo@mein.io>
Mon, 16 May 2022 14:03:14 +0000
(16:03 +0200)
committer
Jo-Philipp Wich
<jo@mein.io>
Mon, 16 May 2022 14:03:14 +0000
(16:03 +0200)
Theme CSS styles shoudl take care of introducing padding as needed.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/form.js
patch
|
blob
|
history
diff --git
a/modules/luci-base/htdocs/luci-static/resources/form.js
b/modules/luci-base/htdocs/luci-static/resources/form.js
index a09c805938c679c4d8256ef5873704a3e0db93e3..58f5a07fd6d41d225dc4446dd88f8a4b6832c7c0 100644
(file)
--- 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 */