mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update scripts for reuse
This commit is contained in:
parent
83d7b945d7
commit
42d8ccb0aa
2 changed files with 18 additions and 10 deletions
|
@ -2,7 +2,7 @@
|
|||
window.MediaBrowser = {};
|
||||
}
|
||||
|
||||
MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, window, FileReader) {
|
||||
MediaBrowser.ApiClient = function ($, JSON, WebSocket, setTimeout, devicePixelRatio, FileReader) {
|
||||
|
||||
/**
|
||||
* Creates a new api client instance
|
||||
|
@ -2119,7 +2119,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||
|
||||
function normalizeImageOptions(options) {
|
||||
|
||||
var ratio = window.devicePixelRatio || 1;
|
||||
var ratio = devicePixelRatio || 1;
|
||||
|
||||
if (ratio) {
|
||||
|
||||
|
@ -3194,7 +3194,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||
|
||||
};
|
||||
|
||||
}(jQuery, navigator, window.JSON, window.WebSocket, setTimeout, window, window.FileReader);
|
||||
}(jQuery, window.JSON, window.WebSocket, setTimeout, window.devicePixelRatio, window.FileReader);
|
||||
|
||||
(function (store) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue