Update mmultiscripts to accommodate change where stretch is passed as an option (in 470d97c).

This commit is contained in:
Davide P. Cervone 2016-08-21 15:01:55 -04:00
parent 4a9bee1f2f
commit 65cfcb80ac

View File

@ -30,8 +30,8 @@ MathJax.Hub.Register.StartupHook("CommonHTML Jax Ready",function () {
CHTML = MathJax.OutputJax.CommonHTML;
MML.mmultiscripts.Augment({
toCommonHTML: function (node,stretch) {
if (!stretch) {
toCommonHTML: function (node,options) {
if (!options || !options.stretch) {
node = this.CHTMLcreateNode(node);
this.CHTMLhandleStyle(node);
this.CHTMLhandleScale(node);