Skip to content
Commit 440a2e79 authored by Florian Eckert's avatar Florian Eckert
Browse files

luci-base: fix button handling for named sections



If more than one named section is added to the page, it is currently the
case, that the first button is always switched on or off during input
validation of the uci section name. This is because the usage of the
'document.querySelector' function is to imprecise. Changing the search
start to the element to be created, fixes this.

Signed-off-by: default avatarFlorian Eckert <fe@dev.tdt.de>
parent 35f0d50a
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