diff options
author | Jo-Philipp Wich <jo@mein.io> | 2022-05-16 16:12:01 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2022-05-16 16:12:01 +0200 |
commit | b6ae1d4f4aec94b38e59b11e5fd9c28799dae05b (patch) | |
tree | d6e494c3758c18419e7a2988afe9ab4143e37700 /modules/luci-base/po/ms | |
parent | 4e090e38d2cb606936768847ab0f5526f95be793 (diff) |
luci-base: form.js: trim option description
If a whitespace-only description is set on an element, the CSS :empty
selector will not match, causing description icons to be shown when
there's no actual content.
To avoid that, trim the description string when building the element.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/po/ms')
0 files changed, 0 insertions, 0 deletions