Remove superfluous MathJax_Processing class (can't find the width error that position:relative was supposed to prevent)
This commit is contained in:
parent
1e4efb3210
commit
59bedca861
File diff suppressed because one or more lines are too long
|
@ -366,8 +366,7 @@
|
|||
{prev.parentNode.removeChild(prev)}
|
||||
var math = script.MathJax.elementJax.root, span, div;
|
||||
span = div = this.Element("span",{
|
||||
className:"MathJax MathJax_Processing",
|
||||
oncontextmenu:this.ContextMenu, onmousedown: this.Mousedown,
|
||||
className:"MathJax", oncontextmenu:this.ContextMenu, onmousedown: this.Mousedown,
|
||||
onmouseover:this.Mouseover, onclick:this.Click, ondblclick:this.DblClick
|
||||
});
|
||||
if (math.Get("display") === "block") {
|
||||
|
@ -387,7 +386,6 @@
|
|||
throw err;
|
||||
}
|
||||
if (isHidden) {script.parentNode.insertBefore(div,script)}
|
||||
span.className = "MathJax"; // remove MathJax_Processing
|
||||
},
|
||||
|
||||
/*
|
||||
|
@ -2093,8 +2091,6 @@
|
|||
var isIE7 = browser.versionAtLeast("7.0");
|
||||
var isIE8 = browser.versionAtLeast("8.0") && document.documentMode > 7;
|
||||
var quirks = (document.compatMode === "BackCompat");
|
||||
// MSIE can't measure widths properly without this
|
||||
HTMLCSS.config.styles[".MathJax .MathJax_Processing span"] = {position: "relative"};
|
||||
// IE doesn't do mouse events on trasparent objects,
|
||||
// so give a background color, but opacity makes it transparent
|
||||
HTMLCSS.config.styles[".MathJax .MathJax_HitBox"]["background-color"] = "white";
|
||||
|
|
Loading…
Reference in New Issue
Block a user