Fix for HP TouchPad Browser.isMobile #7

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@dehenne
dehenne commented Feb 14, 2012

Hi cpojer,

i include the HP TouchPad identification the Browser.isMobile attribute.
Because the Browser.Platform.name is linux. Now I check on 'hp-tablet'' in the UA

i think hp-tablet is better then hpwOS
... i'm not sure, but it can be, that the webOS runs on desktop, too.
so hp-tablet is something unique.

best regards

@cpojer
Owner
cpojer commented Feb 14, 2012

What do you think about adding Browser.Device.name == 'touchpad'; and setting Browser.Platform.name to 'webos' and Browser.Platform.webos = true?

I think that would be better.

@dehenne
dehenne commented Feb 14, 2012

In addition to the fix? It would be nice if isMobile is true.
But adding the Browser.Platform.webos and Browser.Device.name makes sense.

I commit a patch for Android and WebOS to the core
dehenne/mootools-core@1d25758

Maybe we can bring it all together or build on.

@arian
arian commented Feb 14, 2012

If this ticket mootools/mootools-core#2153 will be resolved, the isMobile property will be fixed automagically.

@dehenne
dehenne commented Feb 14, 2012

ahhh ... thats true
that happens when you develop with different versions -.-
so sorry

@cpojer cpojer closed this Aug 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment