mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 03:08:40 +00:00
Look at WebKit version instead of checking Safari
Reviewers: emily Reviewed By: emily Differential Revision: http://phabricator.khanacademy.org/D3317
This commit is contained in:
5
katex.js
5
katex.js
@@ -86,8 +86,9 @@ var buildGroup = function(style, color, group, prev) {
|
||||
} else if (group.type === "close") {
|
||||
return makeSpan("mclose" + color, [textit(group.value)]);
|
||||
} else if (group.type === "frac") {
|
||||
if (utils.isSafari) {
|
||||
throw new ParseError("KaTeX fractions don't work in Safari");
|
||||
if (utils.isBuggyWebKit) {
|
||||
throw new ParseError(
|
||||
"KaTeX fractions don't work in WebKit <= 537.1");
|
||||
}
|
||||
|
||||
var fstyle = style;
|
||||
|
Reference in New Issue
Block a user