Revert "Increase bottom_whitespace to be most of the viewport height."

This scrolling behavior is driving me crazy on staging.
Reverting until we come up with a better alternative.

This reverts commit 41954fecd9efb43820ed1ccb5210283c17752f51.

(imported from commit 2db602cf51ca734b00ec1bd454c39204468fa024)
This commit is contained in:
Waseem Daher 2013-07-08 21:04:52 -04:00
parent 9c81056962
commit 58e57d7462
1 changed files with 1 additions and 6 deletions

View File

@ -269,12 +269,7 @@ function get_new_heights() {
var res = {};
res.bottom_whitespace_height =
viewport.height()
- $("#top_navbar").height()
- 56 // $("#compose").height(), when compose box closed
- $("#floating_recipient_bar").height()
- 51 // 1 message, without recipient header
- 10; // small padding
viewport.height() * 0.4;
res.main_div_min_height =
viewport.height()