WebUI: Fix Torrent Management Mode selector

PR #21053.
This commit is contained in:
Hanabishi 2024-07-15 15:33:51 +05:00 committed by GitHub
parent 3999b9a4f9
commit 3acd5409a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ window.qBittorrent.Download ??= (() => {
$("startTorrent").checked = !pref.add_stopped_enabled;
$("addToTopOfQueue").checked = pref.add_to_top_of_queue;
if (pref.auto_tmm_enabled === 1) {
if (pref.auto_tmm_enabled) {
$("autoTMM").selectedIndex = 1;
$("savepath").disabled = true;
}