Fix trailing commas in MathJax wiki2jax
This breaks MathJax in IE7 Change-Id: I998cb98e688ef3e075d9d08012331f5e55e30b83
This commit is contained in:
parent
90d7783e8e
commit
ec4b89854d
|
@ -6,7 +6,7 @@ MathJax.Extension.wiki2jax = {
|
||||||
version: "1.0",
|
version: "1.0",
|
||||||
|
|
||||||
config: {
|
config: {
|
||||||
element: null, // The ID of the element to be processed
|
element: null // The ID of the element to be processed
|
||||||
// (defaults to full document)
|
// (defaults to full document)
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ MathJax.Extension.wiki2jax = {
|
||||||
});
|
});
|
||||||
preview.appendChild(parent.removeChild(node));
|
preview.appendChild(parent.removeChild(node));
|
||||||
parent.insertBefore(preview, script);
|
parent.insertBefore(preview, script);
|
||||||
},
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue