mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
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.
This commit is contained in:
parent
f1337524f6
commit
3af2168b02
1 changed files with 0 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue