mdzidic / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Incorrectly detects an iPad as an iPhone #343

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The iPhone interface is not appropriate for the iPad. I changed line 77 of 
application.rb to:

agent && !agent[/iPad/] && (agent[/(Mobile\/.+Safari)/] || agent[/Android/])

Original issue reported on code.google.com by jasonl...@gmail.com on 20 Sep 2011 at 2:53

GoogleCodeExporter commented 9 years ago
Agreed.

Original comment by sibprogrammer on 3 Oct 2011 at 4:07

GoogleCodeExporter commented 9 years ago
Fixed. See 
https://github.com/sibprogrammer/owp/commit/4814480128356291d96f77222adeeb5493cf
3df5

Original comment by sibprogrammer on 3 Oct 2011 at 4:20