settings: Remove autoscroll_forever setting.

Fixes #6845
This commit is contained in:
YJDave
2017-12-27 17:47:58 +05:30
committed by showell
parent c2248a81dc
commit fa44d2ea69
15 changed files with 32 additions and 80 deletions

View File

@@ -203,9 +203,7 @@ exports.watch_manual_resize = function (element) {
};
exports.resize_bottom_whitespace = function (h) {
if (page_params.autoscroll_forever) {
$("#bottom_whitespace").height($("#compose-container")[0].offsetHeight);
} else if (h !== undefined) {
if (h !== undefined) {
$("#bottom_whitespace").height(h.bottom_whitespace_height);
}
};