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

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

File diff suppressed because one or more lines are too long

View File

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