Isn't the real problem that:
/**
* Return true if the user agent is mobile device...
* getScreenSize() = false if the user agent is not a mobile device.
function isMobileUser() {
return (getScreenSize() === false);
}This code says isMobileUser is true if getScreeSize is false. That's backwards. Should be
return (getScreenSize() != false);
Chris Petersen wrote:
just a quick data point: I just grabbed CVS and tested IE6.0, Firefox 1.0.4 and a WML browser and each are detected correctly.
It doesn't work for me, so there must be something else happening.
-Chris _______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
_______________________________________________ mythtv-dev mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
