diff --git a/static/js/navigate.js b/static/js/navigate.js index 77c59e8c83..007b2b713a 100644 --- a/static/js/navigate.js +++ b/static/js/navigate.js @@ -23,16 +23,6 @@ exports.down = function () { if (next_row.length !== 0) { go_to_row(next_row); } - if ((next_row.length === 0)) { - // At the last message, scroll to the bottom so we have - // lots of nice whitespace for new messages coming in. - // - // FIXME: this doesn't work for End because rows.last_visible() - // always returns a message. - var current_msg_table = rows.get_table(current_msg_list.table_name); - viewport.scrollTop(current_msg_table.outerHeight(true) - viewport.height() * 0.1); - mark_current_list_as_read(); - } }; exports.to_home = function () { @@ -71,4 +61,4 @@ exports.page_down = function () { }; return exports; -}()); \ No newline at end of file +}());