mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
followup r113661 - fix for renamed func
This commit is contained in:
parent
a2cc731964
commit
b572b021b9
Notes:
Brion Vibber
2012-03-12 20:59:32 +00:00
2
modules/MathJax/extensions/wiki2jax.js
vendored
2
modules/MathJax/extensions/wiki2jax.js
vendored
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue