Compile.
This commit is contained in:
parent
9ac3e40581
commit
c38b07a055
@ -2866,8 +2866,8 @@
|
|||||||
$.bind(window, 'resize', imgExpand.resize);
|
$.bind(window, 'resize', imgExpand.resize);
|
||||||
if (!imgExpand.style) {
|
if (!imgExpand.style) {
|
||||||
imgExpand.style = $.addStyle('');
|
imgExpand.style = $.addStyle('');
|
||||||
return imgExpand.resize();
|
|
||||||
}
|
}
|
||||||
|
return imgExpand.resize();
|
||||||
} else if (imgExpand.style) {
|
} else if (imgExpand.style) {
|
||||||
return $.unbind(window, 'resize', imgExpand.resize);
|
return $.unbind(window, 'resize', imgExpand.resize);
|
||||||
}
|
}
|
||||||
@ -2945,7 +2945,7 @@
|
|||||||
return $.prepend(delform, controls);
|
return $.prepend(delform, controls);
|
||||||
},
|
},
|
||||||
resize: function() {
|
resize: function() {
|
||||||
return imgExpand.style.innerHTML = ".fitheight img + img {max-height:" + innerHeight + "px;}";
|
return imgExpand.style.innerHTML = ".fitheight img + img {max-height:" + d.body.clientHeight + "px;}";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
firstRun = {
|
firstRun = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user