Merge pull request #14097 from glassez/fix-webui

Don't call non-existent elements (part 2)
This commit is contained in:
Vladimir Golovnev 2020-12-30 22:22:41 +03:00 committed by GitHub
commit cabb2198b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,7 +72,6 @@ window.qBittorrent.Download = (function() {
defaultSavePath = pref.save_path; defaultSavePath = pref.save_path;
$('savepath').setProperty('value', defaultSavePath); $('savepath').setProperty('value', defaultSavePath);
$('rootFolder').checked = pref.create_subfolder_enabled;
$('startTorrent').checked = !pref.start_paused_enabled; $('startTorrent').checked = !pref.start_paused_enabled;
if (pref.auto_tmm_enabled == 1) { if (pref.auto_tmm_enabled == 1) {