Fix problem with OS X Lion STIX font fix being applied to all platforms when Chrome is used.
This commit is contained in:
parent
5263c5e21c
commit
e0273d1704
File diff suppressed because one or more lines are too long
|
@ -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}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user