Merge pull request #1483 from dpvc/issue1477
Catch IE8 errors with inserting MathML from AssistiveMML extension. #1477
This commit is contained in:
commit
8c51621661
|
@ -128,7 +128,7 @@
|
||||||
className: "MJX_Assistive_MathML"
|
className: "MJX_Assistive_MathML"
|
||||||
+ (jax.root.Get("display") === "block" ? " MJX_Assistive_MathML_Block" : "")
|
+ (jax.root.Get("display") === "block" ? " MJX_Assistive_MathML_Block" : "")
|
||||||
});
|
});
|
||||||
span.innerHTML = mml;
|
try {span.innerHTML = mml} catch (err) {}
|
||||||
frame.style.position = "relative";
|
frame.style.position = "relative";
|
||||||
frame.setAttribute("role","presentation");
|
frame.setAttribute("role","presentation");
|
||||||
frame.firstChild.setAttribute("aria-hidden","true");
|
frame.firstChild.setAttribute("aria-hidden","true");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user