Fix use of image mode for iPad/iPhone/iPod

git-svn-id: https://mathjax.svn.sourceforge.net/svnroot/mathjax/trunk@604 b8fd5906-0fad-46e2-a0d3-10d94ff285d1
This commit is contained in:
Davide Cervone 2010-09-20 03:29:40 +00:00
parent a1bd4704ec
commit 8a883edb0a
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -2118,7 +2118,7 @@
browser.isMobile = (navigator.appVersion.match(/Mobile/i) != null);
var android = (navigator.appVersion.match(/ Android (\d+)\.(\d+)/));
var forceImages = (v3p1 && browser.isMobile &&
(navigator.platform === "iPod" || (android != null &&
(navigator.platform.match(/iPad|iPod|iPhone/) || (android != null &&
(android[1] < 2 || (android[1] == 2 && android[2] < 2)))));
HTMLCSS.Augment({
config: {