Merge pull request #316 from anthonylavado/release-10.3.z

Correct the naming of iPad and iPhone
This commit is contained in:
Joshua M. Boniface 2019-05-10 09:16:18 -04:00 committed by GitHub
commit ce06f79502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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";