diff --git a/unpacked/jax/output/CommonHTML/jax.js b/unpacked/jax/output/CommonHTML/jax.js
index 95971830e..e400180f7 100644
--- a/unpacked/jax/output/CommonHTML/jax.js
+++ b/unpacked/jax/output/CommonHTML/jax.js
@@ -2122,8 +2122,11 @@
MML.TeXAtom.Augment({
toCommonHTML: function (node) {
node = this.CHTMLdefaultNode(node);
- var H = this.CHTML.h, D = this.CHTML.d;
- for (var i = 0, m = this.data.length; i < m; i++) this.CHTMLstretchChildV(i,H,D);
+ if (this.texClass === MML.TEXCLASS.VCENTER) {
+ var a = CHTML.TEX.axis_height, BBOX = this.CHTML;
+ var v = a-(BBOX.h+BBOX.d)/2+BBOX.d;
+ node.style.verticalAlign = CHTML.Em(v);
+ }
return node;
}
});