[Mobile] Clean Up
Fixed InfoService having 0 in wrong spot. Also correctly compared the UserAgent device to iPhone for isMobile function in AgentService.
This commit is contained in:
@@ -59,7 +59,7 @@ define(
|
||||
// phone is designated as only an
|
||||
// iPhone device
|
||||
function isPhone(ua) {
|
||||
if (getDeviceUA(ua) == "iPhone") {
|
||||
if (getDeviceUA(ua)[0] === "iPhone") {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user