Skip to content

Commit 173911d

Browse files
committed
Make About box show 'woff or otf' when otf fonts are used (since both are requested).
1 parent be28147 commit 173911d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unpacked/extensions/MathMenu.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,8 @@
607607
MENU.About.GetJax(jax,MathJax.Extension,"Extension",true);
608608
jax.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[
609609
HUB.Browser + " v"+HUB.Browser.version +
610-
(HTMLCSS.webFonts && !HTMLCSS.imgFonts ? " \u2014 "+HTMLCSS.allowWebFonts+" fonts" : "")
610+
(HTMLCSS.webFonts && !HTMLCSS.imgFonts ? " \u2014 " +
611+
HTMLCSS.allowWebFonts.replace(/otf/,"woff or otf") + " fonts" : "")
611612
]]);
612613
MENU.About.div = MENU.Background(MENU.About);
613614
var about = HTML.addElement(MENU.About.div,"div",{

0 commit comments

Comments
 (0)