mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update games page to honor aspect ratio
This commit is contained in:
parent
fdd009f29c
commit
d7cb795c5f
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
(function ($, document) {
|
||||
|
||||
var view = "Backdrop";
|
||||
var view = "Poster";
|
||||
|
||||
// The base query options
|
||||
var query = {
|
||||
|
@ -36,7 +36,6 @@
|
|||
else if (view == "Poster") {
|
||||
html += LibraryBrowser.getPosterDetailViewHtml({
|
||||
items: result.Items,
|
||||
useAverageAspectRatio: true,
|
||||
context: "games",
|
||||
shape: "poster"
|
||||
});
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
|
||||
var currentTimeout = searchHintTimeout;
|
||||
|
||||
ApiClient.getSearchHints(ApiClient.getUrl({ userId: Dashboard.getCurrentUserId(), searchTerm: searchTerm, limit: 10 })).done(function (result) {
|
||||
ApiClient.getSearchHints({ userId: Dashboard.getCurrentUserId(), searchTerm: searchTerm, limit: 10 }).done(function (result) {
|
||||
|
||||
if (currentTimeout != searchHintTimeout) {
|
||||
return;
|
||||
|
@ -74,7 +74,6 @@
|
|||
hideFlyout(page);
|
||||
return;
|
||||
}
|
||||
|
||||
renderSearchHintResult(page, result.SearchHints);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue