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

luci-base: ui.js: fix UICheckbox widget operation when tooltips are set

When a tooltip is rendered for a checkbox widget, an additional node is
placed after the checkbox label element, breaking DOM selectors in
bind(), isChecked(), setValue().

Apparently the functionality was never actually tested.

Fixes: #4938
Fixes: e951236e

 ("luci-base: add tooltip handling")
Signed-off-by: default avatarJo-Philipp Wich <jo@mein.io>
parent 9ff45c93
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