WebUI: Fix Torrent Management Mode selector

PR #21053.
This commit is contained in:
Hanabishi 2024-07-15 15:33:51 +05:00 committed by Vladimir Golovnev (Glassez)
parent 09ed0d6b66
commit 920ae26f7b
No known key found for this signature in database
GPG key ID: 52A2C7DEE2DFA6F7

View file

@ -68,7 +68,7 @@ window.qBittorrent.Download = (function() {
$("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;
}