[mythtv] MythWeb is broken

Bryan Mayland bmayland at leoninedev.com
Tue May 17 17:33:06 UTC 2005


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
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
>


More information about the mythtv-dev mailing list