mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
Merge pull request #316 from anthonylavado/release-10.3.z
Correct the naming of iPad and iPhone
This commit is contained in:
commit
ce06f79502
@ -107,10 +107,10 @@ define(["appSettings", "browser", "events", "htmlMediaHelper"], function (appSet
|
|||||||
deviceName = browser.tizen ? "Samsung Smart TV" : browser.web0s ? "LG Smart TV" : browser.operaTv ? "Opera TV" : browser.xboxOne ? "Xbox One" : browser.ps4 ? "Sony PS4" : browser.chrome ? "Chrome" : browser.edge ? "Edge" : browser.firefox ? "Firefox" : browser.msie ? "Internet Explorer" : browser.opera ? "Opera" : "Web Browser";
|
deviceName = browser.tizen ? "Samsung Smart TV" : browser.web0s ? "LG Smart TV" : browser.operaTv ? "Opera TV" : browser.xboxOne ? "Xbox One" : browser.ps4 ? "Sony PS4" : browser.chrome ? "Chrome" : browser.edge ? "Edge" : browser.firefox ? "Firefox" : browser.msie ? "Internet Explorer" : browser.opera ? "Opera" : "Web Browser";
|
||||||
|
|
||||||
if (browser.ipad) {
|
if (browser.ipad) {
|
||||||
deviceName += " Ipad";
|
deviceName += " iPad";
|
||||||
} else {
|
} else {
|
||||||
if (browser.iphone) {
|
if (browser.iphone) {
|
||||||
deviceName += " Iphone";
|
deviceName += " iPhone";
|
||||||
} else {
|
} else {
|
||||||
if (browser.android) {
|
if (browser.android) {
|
||||||
deviceName += " Android";
|
deviceName += " Android";
|
||||||
|
Loading…
Reference in New Issue
Block a user