Trap errors with document.namespace (it crashes IE10 in standards mode).
This commit is contained in:
parent
646a977b8c
commit
1bb9758dc8
|
@ -56,7 +56,7 @@ MathJax.Extension["MathML/content-mathml"] = (function(HUB) {
|
||||||
var isMSIE = HUB.Browser.isMSIE;
|
var isMSIE = HUB.Browser.isMSIE;
|
||||||
|
|
||||||
if (isMSIE) {
|
if (isMSIE) {
|
||||||
document.namespaces.add("m","http://www.w3.org/1998/Math/MathML");
|
try {document.namespaces.add("m","http://www.w3.org/1998/Math/MathML")} catch (err) {}
|
||||||
}
|
}
|
||||||
|
|
||||||
var CONFIG = HUB.CombineConfig("MathML.content-mathml",{
|
var CONFIG = HUB.CombineConfig("MathML.content-mathml",{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user