Don't use MathJax_MathContainer when not using Math Menus in MSIE

This commit is contained in:
Davide P. Cervone 2011-01-18 17:59:42 -05:00
parent 5d513b383d
commit 2d762625b9

View File

@ -53,7 +53,7 @@
var type = (math.Get("display") === "block" ? "div" : "span");
var span = document.createElement(type), container = span;
span.className = "MathJax_MathML"; span.style.fontSize = this.config.scale+"%";
if (isMSIE) {
if (isMSIE && this.config.showMathMenuMSIE) {
container = MathJax.HTML.addElement(span,"span",{
className:"MathJax_MathContainer",
style:{display:"inline-block",position:"relative"}