1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Correct the naming of iPad and iPhone

Fixes #310.
This commit is contained in:
Anthony Lavado 2019-05-10 00:24:22 -04:00
parent f34ec139e3
commit 073f82f7de

View file

@ -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";
if (browser.ipad) {
deviceName += " Ipad";
deviceName += " iPad";
} else {
if (browser.iphone) {
deviceName += " Iphone";
deviceName += " iPhone";
} else {
if (browser.android) {
deviceName += " Android";