Save 'isMini' value in the browser object

git-svn-id: https://mathjax.svn.sourceforge.net/svnroot/mathjax/trunk@569 b8fd5906-0fad-46e2-a0d3-10d94ff285d1
This commit is contained in:
Davide Cervone 2010-08-08 15:10:24 +00:00
parent dbd8444d60
commit cb4389ba07
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -2147,7 +2147,7 @@
},
Opera: function (browser) {
var isMini = (navigator.appVersion.match("Opera Mini") != null);
browser.isMini = (navigator.appVersion.match("Opera Mini") != null);
HTMLCSS.config.styles[".MathJax .merror"]["vertical-align"] = null;
HTMLCSS.Augment({
operaHeightBug: true,
@ -2156,7 +2156,7 @@
zeroWidthBug: true,
FontFaceBug: true,
PaddingWidthBug: true,
allowWebFonts: (browser.versionAtLeast("10.0") && !isMini ? "otf" : false)
allowWebFonts: (browser.versionAtLeast("10.0") && !browser.isMini ? "otf" : false)
});
},