d.body.clientHeight to fit with vertical/horizontal scrollbars.

This commit is contained in:
Nicolas Stepien 2011-10-15 00:19:13 +02:00
parent 745ac1ec19
commit 99a2786c5c

View File

@ -2157,7 +2157,7 @@ imgExpand =
$.prepend delform, controls
resize: ->
imgExpand.style.innerHTML = ".fitheight img + img {max-height:#{innerHeight}px;}"
imgExpand.style.innerHTML = ".fitheight img + img {max-height:#{d.body.clientHeight}px;}"
firstRun =
init: ->