From 3af2168b02a9a067d0cad2717251940be5026b59 Mon Sep 17 00:00:00 2001 From: "Vladimir Golovnev (Glassez)" Date: Wed, 30 Dec 2020 16:45:49 +0300 Subject: [PATCH] Don't call non-existent elements Fixed a regression where the script tries to access elements that no longer exist on the page, because they were replaced with others by a previous change. --- src/webui/www/private/scripts/download.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/webui/www/private/scripts/download.js b/src/webui/www/private/scripts/download.js index f6198cc23..f4f694735 100644 --- a/src/webui/www/private/scripts/download.js +++ b/src/webui/www/private/scripts/download.js @@ -72,7 +72,6 @@ window.qBittorrent.Download = (function() { defaultSavePath = pref.save_path; $('savepath').setProperty('value', defaultSavePath); - $('rootFolder').checked = pref.create_subfolder_enabled; $('startTorrent').checked = !pref.start_paused_enabled; if (pref.auto_tmm_enabled == 1) {