From 65cfcb80acd2611676b6c178b03ed23de1f6124c Mon Sep 17 00:00:00 2001 From: "Davide P. Cervone" Date: Sun, 21 Aug 2016 15:01:55 -0400 Subject: [PATCH] Update mmultiscripts to accommodate change where stretch is passed as an option (in 470d97c). --- unpacked/jax/output/CommonHTML/autoload/mmultiscripts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unpacked/jax/output/CommonHTML/autoload/mmultiscripts.js b/unpacked/jax/output/CommonHTML/autoload/mmultiscripts.js index 32f7d1cc9..3fd1239c6 100644 --- a/unpacked/jax/output/CommonHTML/autoload/mmultiscripts.js +++ b/unpacked/jax/output/CommonHTML/autoload/mmultiscripts.js @@ -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);