mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update version for merge
This commit is contained in:
parent
8f6cbe8de2
commit
d80ee0d337
2 changed files with 16 additions and 1 deletions
12
dashboard-ui/thirdparty/browser.js
vendored
12
dashboard-ui/thirdparty/browser.js
vendored
|
@ -965,6 +965,18 @@
|
||||||
browser.tv = true;
|
browser.tv = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (browser.ipad || browser.iphone) {
|
||||||
|
if (userAgent.toLowerCase().indexOf('CPU OS 9') != -1) {
|
||||||
|
browser.iOSVersion = 9;
|
||||||
|
}
|
||||||
|
else if (userAgent.toLowerCase().indexOf('CPU OS 8') != -1) {
|
||||||
|
browser.iOSVersion = 8;
|
||||||
|
}
|
||||||
|
else if (userAgent.toLowerCase().indexOf('CPU OS 7') != -1) {
|
||||||
|
browser.iOSVersion = 7;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
jQuery.browser = browser;
|
jQuery.browser = browser;
|
||||||
|
|
||||||
})(jQuery, window);
|
})(jQuery, window);
|
||||||
|
|
|
@ -53,7 +53,10 @@
|
||||||
|
|
||||||
function normalizeReturnUrl(url) {
|
function normalizeReturnUrl(url) {
|
||||||
if ($.browser.safari) {
|
if ($.browser.safari) {
|
||||||
return url.replace('file://', '');
|
|
||||||
|
if ($.browser.iOSVersion == 8) {
|
||||||
|
return url.replace('file://', '');
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue