Fixes for IE7 and 8.
This commit is contained in:
parent
2babc14e1b
commit
9cefee80f9
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user