commit d6bb1f55d5127f447aee6dbf0a02c730cbe3a8d1
parent dc923adf8f7db0e7c68f7051b73c065002ecdef2
Author: Davide P. Cervone <dpvc@union.edu>
Date: Sat, 7 Mar 2015 11:12:01 -0500
Fix \mathchoice to use renamed CHTMLcreateNode function
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/unpacked/extensions/TeX/mathchoice.js b/unpacked/extensions/TeX/mathchoice.js
@@ -77,12 +77,12 @@ MathJax.Hub.Register.StartupHook("TeX Jax Ready",function () {
this.SVGsaveData(svg);
return svg;
},
- toCommonHTML: function (span) {
- span = this.CHTMLcreateSpan(span);
- this.CHTMLhandleStyle(span);
- this.CHTMLhandleColor(span);
- this.CHTMLaddChild(span,this.choice(),{});
- return span;
+ toCommonHTML: function (node) {
+ node = this.CHTMLcreateNode(node);
+ this.CHTMLhandleStyle(node);
+ this.CHTMLhandleColor(node);
+ this.CHTMLaddChild(node,this.choice(),{});
+ return node;
}
});