mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-01 13:18:06 -06:00
WebUI: fix checkbox initialization
Previously the checkbox had all options checked regardless of the stored setting.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user