Update master to v2.7.1 #1

Merged
SuzanneSoy merged 242 commits from master into master 2017-05-02 14:25:00 +01:00
Showing only changes of commit b7385f44d2 - Show all commits

View File

@ -249,7 +249,7 @@
test = script.previousSibling; div = test.previousSibling;
jax = script.MathJax.elementJax; if (!jax) continue;
ex = test.firstChild.offsetHeight/60;
cwidth = div.previousSibling.firstChild.offsetWidth;
cwidth = div.previousSibling.firstChild.offsetWidth / this.config.scale * 100;
if (relwidth) {maxwidth = cwidth}
if (ex === 0 || ex === "NaN") {
// can't read width, so move to hidden div for processing