Don't set overlay W/H if it has already been removed (IE8).
This commit is contained in:
parent
90af9db319
commit
94b7c4243b
|
@ -251,6 +251,7 @@
|
|||
},
|
||||
SetWH: function () {
|
||||
var overlay = document.getElementById("MathJax_ZoomOverlay");
|
||||
if (!overlay) return;
|
||||
overlay.style.display = "none"; // so scrollWidth/Height will be right below
|
||||
var doc = overlay.scroll_parent || document.documentElement || document.body;
|
||||
overlay.style.width = doc.scrollWidth + "px";
|
||||
|
|
Loading…
Reference in New Issue
Block a user