|
|
@ -125,7 +125,7 @@ window.qBittorrent.Download = (function() { |
|
|
|
const category = categories[categoryName]; |
|
|
|
const category = categories[categoryName]; |
|
|
|
let savePath = defaultSavePath; |
|
|
|
let savePath = defaultSavePath; |
|
|
|
if (category !== undefined) |
|
|
|
if (category !== undefined) |
|
|
|
savePath = (category['savePath'] !== "") ? category['savePath'] : (defaultSavePath + categoryName); |
|
|
|
savePath = (category['savePath'] !== "") ? category['savePath'] : `${defaultSavePath}/${categoryName}`; |
|
|
|
$('savepath').value = savePath; |
|
|
|
$('savepath').value = savePath; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|