www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 1bb9758dc8d75b10d7d6c65c1c9271c596bbf4d2
parent 646a977b8c5dc0746aec8cd0a1c1001dcd685a7a
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Sat, 24 Jan 2015 15:45:09 -0500

Trap errors with document.namespace (it crashes IE10 in standards mode).

Diffstat:
Munpacked/extensions/MathML/content-mathml.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unpacked/extensions/MathML/content-mathml.js b/unpacked/extensions/MathML/content-mathml.js @@ -56,7 +56,7 @@ MathJax.Extension["MathML/content-mathml"] = (function(HUB) { var isMSIE = HUB.Browser.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",{