www

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

commit 9cefee80f94a123a428e5e5e98859e3cd33f7faf
parent 2babc14e1bff36260a5b6eadf2988a8a6e3fd7c4
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon, 17 Nov 2014 19:42:45 -0500

Fixes for IE7 and 8.

Diffstat:
Munpacked/MathJax.js | 2+-
Munpacked/jax/element/mml/jax.js | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/unpacked/MathJax.js b/unpacked/MathJax.js @@ -2400,7 +2400,7 @@ MathJax.Hub = { // IE8 fails to check "obj instanceof HTMLCollection" for some values of obj. // isHTMLCollection: function (obj) { - return (typeof(obj) === "object" && obj instanceof HTMLCollection); + return ("HTMLCollection" in window && typeof(obj) === "object" && obj instanceof HTMLCollection); }, // // IE8 doesn't deal with HTMLCollection as an array, so convert to array diff --git a/unpacked/jax/element/mml/jax.js b/unpacked/jax/element/mml/jax.js @@ -232,7 +232,7 @@ MathJax.ElementJax.mml.Augment({ nocopyAttributes: { fontfamily: true, fontsize: true, fontweight: true, fontstyle: true, color: true, background: true, - id: true, class: true, href: true, style: true, + id: true, 'class': true, href: true, style: true, xmlns: true }, Error: function (message,def) {