Hi Team!
Is there a method I can use in javascript to determine if a page is Mobile or Desktop?
Page 1 / 1
You can check whether “skuid.mobile” is defined — if it is, you’re in Mobile, otherwise in Desktop, e.g.
var isMobile = !!skuid.mobile;
if (isMobile) {
}
Nice. Thanks!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.