diff --git a/src/webui/www/private/scripts/download.js b/src/webui/www/private/scripts/download.js index 7279fd19e..ee1c78e01 100644 --- a/src/webui/www/private/scripts/download.js +++ b/src/webui/www/private/scripts/download.js @@ -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; }