mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-05 14:47:25 +03:00
WebUI: fix checkbox initialization
Previously the checkbox had all options checked regardless of the stored setting.
This commit is contained in:
parent
ef5506321a
commit
83b0dd3026
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@
|
|||
|
||||
const init = () => {
|
||||
for (const option of $("logLevelSelect").options)
|
||||
option.setAttribute("selected", selectedLogLevels.includes(option.value));
|
||||
option.toggleAttribute("selected", selectedLogLevels.includes(option.value));
|
||||
|
||||
selectBox = new vanillaSelectBox("#logLevelSelect", {
|
||||
maxHeight: 200,
|
||||
|
|
Loading…
Reference in a new issue