Skip to content

Commit 38ccfc4

Browse files
committed
One more place tht unEm should not have been used.
1 parent 3e0f993 commit 38ccfc4

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

config/AM_HTMLorMML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/Accessible-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/MML_HTMLorMML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/TeX-AMS-MML_HTMLorMML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/TeX-AMS_HTML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/TeX-MML-AM_HTMLorMML-full.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jax/output/HTML-CSS/autoload/mtable.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

unpacked/jax/output/HTML-CSS/autoload/mtable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
302302
// Set width/position based on the type of column
303303
//
304304
if (CWIDTH[j].match(/%$/)) {
305-
var pp = HTMLCSS.unEm(CWIDTH[j]) * Wf;
305+
var pp = parseFloat(CWIDTH[j]) * Wf;
306306
if (f === 0) {
307307
CjStyle.width = (wp + pp) + "%"; xp += wp + pp;
308308
Cj = HTMLCSS.createBox(Cj); HTMLCSS.addBox(Cj,C[j].firstChild);

0 commit comments

Comments
 (0)