From 3acd5409a6b2e573ef1f246b560334c9b9ec0084 Mon Sep 17 00:00:00 2001 From: Hanabishi <13597663+HanabishiRecca@users.noreply.github.com> Date: Mon, 15 Jul 2024 15:33:51 +0500 Subject: [PATCH] WebUI: Fix Torrent Management Mode selector PR #21053. --- src/webui/www/private/scripts/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/www/private/scripts/download.js b/src/webui/www/private/scripts/download.js index ea93565d0..012f6466d 100644 --- a/src/webui/www/private/scripts/download.js +++ b/src/webui/www/private/scripts/download.js @@ -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; }