Skip to content
Commit b6ae1d4f authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jo@mein.io>
parent 4e090e38
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment