Correct ID for global glyph lookup

This commit is contained in:
Davide P. Cervone 2014-06-08 21:08:31 -04:00
parent 6dfaf0e464
commit f9afa15ecc

View File

@ -383,7 +383,7 @@
if (this.config.useFontCache) { if (this.config.useFontCache) {
var GLYPH = BBOX.GLYPH; var GLYPH = BBOX.GLYPH;
if (this.config.useGlobalCache) { if (this.config.useGlobalCache) {
GLYPH.defs = document.getElementById("MathJax_SVG_Glyphs"); GLYPH.defs = document.getElementById("MathJax_SVG_glyphs");
GLYPH.defs.innerHTML = ""; GLYPH.defs.innerHTML = "";
} else { } else {
GLYPH.defs = this.Element("defs"); GLYPH.defs = this.Element("defs");