mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed themoviedb search returning no results
This commit is contained in:
parent
e9a747ed77
commit
0b736d68b5
7 changed files with 33 additions and 44 deletions
|
@ -531,35 +531,17 @@
|
|||
|
||||
});
|
||||
|
||||
if ($('.backdropFields:visible', form).length) {
|
||||
config.ImageOptions.push({
|
||||
Type: 'Backdrop',
|
||||
Limit: $('#txtMaxBackdrops', form).val(),
|
||||
MinWidth: $('#txtMinBackdropDownloadWidth', form).val()
|
||||
});
|
||||
|
||||
config.ImageOptions.push({
|
||||
Type: 'Backdrop',
|
||||
Limit: $('#txtMaxBackdrops', form).val(),
|
||||
MinWidth: $('#txtMinBackdropDownloadWidth', form).val()
|
||||
});
|
||||
} else {
|
||||
config.ImageOptions.push({
|
||||
Type: 'Backdrop',
|
||||
Limit: 0,
|
||||
MinWidth: 0
|
||||
});
|
||||
}
|
||||
|
||||
if ($('.screenshotFields:visible', form).length) {
|
||||
|
||||
config.ImageOptions.push({
|
||||
Type: 'Screenshot',
|
||||
Limit: $('#txtMaxScreenshots', form).val(),
|
||||
MinWidth: $('#txtMinScreenshotDownloadWidth', form).val()
|
||||
});
|
||||
} else {
|
||||
config.ImageOptions.push({
|
||||
Type: 'Screenshot',
|
||||
Limit: 0,
|
||||
MinWidth: 0
|
||||
});
|
||||
}
|
||||
config.ImageOptions.push({
|
||||
Type: 'Screenshot',
|
||||
Limit: $('#txtMaxScreenshots', form).val(),
|
||||
MinWidth: $('#txtMinScreenshotDownloadWidth', form).val()
|
||||
});
|
||||
}
|
||||
|
||||
function onSubmit() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue