diff --git a/app/assets/javascripts/discourse/components/div_resizer.js.coffee b/app/assets/javascripts/discourse/components/div_resizer.js.coffee index 19cf0918bc2..0b4c3683343 100644 --- a/app/assets/javascripts/discourse/components/div_resizer.js.coffee +++ b/app/assets/javascripts/discourse/components/div_resizer.js.coffee @@ -29,6 +29,7 @@ thisMousePos = mousePosition(e).y size = originalDivHeight + (originalPos - thisMousePos) lastMousePos = thisMousePos + size = Math.min(size, $(window).height()) size = Math.max(min, size) div.height size + "px" endDrag e,opts if size < min