www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 173911d6062eb39e5d4d1b640a1ccdbed807fa35
parent be28147f2db96cdfb80fa04596713a265a5408fd
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Mon, 24 Sep 2012 20:46:43 -0400

Make About box show 'woff or otf' when otf fonts are used (since both are requested).

Diffstat:
Munpacked/extensions/MathMenu.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/unpacked/extensions/MathMenu.js b/unpacked/extensions/MathMenu.js @@ -607,7 +607,8 @@ MENU.About.GetJax(jax,MathJax.Extension,"Extension",true); jax.push(["div",{style:{"border-top":"groove 2px",margin:".25em 0"}}],["center",{},[ HUB.Browser + " v"+HUB.Browser.version + - (HTMLCSS.webFonts && !HTMLCSS.imgFonts ? " \u2014 "+HTMLCSS.allowWebFonts+" fonts" : "") + (HTMLCSS.webFonts && !HTMLCSS.imgFonts ? " \u2014 " + + HTMLCSS.allowWebFonts.replace(/otf/,"woff or otf") + " fonts" : "") ]]); MENU.About.div = MENU.Background(MENU.About); var about = HTML.addElement(MENU.About.div,"div",{