mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Fix wrong element id being used
This commit is contained in:
parent
81943fb3b0
commit
ece27b84cc
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ var changeCategorySelect = function(item) {
|
|||
item.nextElementSibling.value = "";
|
||||
item.nextElementSibling.select();
|
||||
|
||||
if ($('autotmm').selectedIndex == 1)
|
||||
if ($('autoTMM').selectedIndex == 1)
|
||||
$('savepath').value = defaultSavePath;
|
||||
}
|
||||
else {
|
||||
|
@ -87,7 +87,7 @@ var changeCategorySelect = function(item) {
|
|||
var text = item.options[item.selectedIndex].innerHTML;
|
||||
item.nextElementSibling.value = text;
|
||||
|
||||
if ($('autotmm').selectedIndex == 1) {
|
||||
if ($('autoTMM').selectedIndex == 1) {
|
||||
var categoryName = item.value;
|
||||
var category = categories[categoryName];
|
||||
var savePath = defaultSavePath;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue