followup r113661 - fix for renamed func

This commit is contained in:
Brion Vibber 2012-03-12 20:59:32 +00:00
parent a2cc731964
commit b572b021b9
Notes: Brion Vibber 2012-03-12 20:59:32 +00:00

View file

@ -71,7 +71,7 @@ MathJax.Extension.wiki2jax = {
createPreview: function (node) {
var preview;
if (this.config.preview === "TeX") {preview = [this.filterTeX(node.innerHTML)]}
if (this.config.preview === "TeX") {preview = [this.filterPreview(node.innerHTML)]}
else if (this.config.preview instanceof Array) {preview = this.config.preview}
if (preview) {
preview = MathJax.HTML.Element("span",{className: MathJax.Hub.config.preRemoveClass},preview);