diff --git a/script.coffee b/script.coffee index de282e58b..112c4f2f2 100644 --- a/script.coffee +++ b/script.coffee @@ -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: ->