Merge branch 'v2.1-latest' of https://github.com/dpvc/MathJax into v2.1-latest

This commit is contained in:
Davide P. Cervone 2012-10-17 17:54:40 -04:00
commit cd6be82f13
2 changed files with 5 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -1511,8 +1511,10 @@
browser.STIXfontBug = browser.versionAtLeast("5.1") && browser.isMac;
},
Chrome: function (browser) {
var match = navigator.appVersion.match(/AppleWebKit\/(\d+)/);
if (match && parseInt(match[1]) > 534) {browser.STIXfontBug = true}
if (browser.isMac) {
var match = navigator.appVersion.match(/AppleWebKit\/(\d+)/);
if (match && parseInt(match[1]) > 534) {browser.STIXfontBug = true}
}
}
});