mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-22 22:33:34 -07:00
Update rssDownloader.html
This commit is contained in:
parent
fe9dc131bc
commit
da403e01d8
1 changed files with 17 additions and 18 deletions
|
@ -434,18 +434,17 @@ Supports the formats: S01E01, 1x1, 2017.12.31 and 31.12.2017 (Date formats also
|
|||
cache: "no-store"
|
||||
})
|
||||
.then(async (response) => {
|
||||
if (!response.ok)
|
||||
return;
|
||||
if (!response.ok) return;
|
||||
|
||||
const responseJSON = await response.json();
|
||||
|
||||
const combobox = $("assignCategoryCombobox");
|
||||
for (const cat in responseJSON) {
|
||||
if (!Object.hasOwn(responseJSON, cat))
|
||||
continue;
|
||||
if (!Object.hasOwn(responseJSON, cat)) continue;
|
||||
|
||||
const option = document.createElement("option");
|
||||
option.text = option.value = cat;
|
||||
option.value = cat;
|
||||
option.appendChild(document.createTextNode(cat));
|
||||
combobox.add(option);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue