Delete code that repositioned window on last message.

I believe we'll get this for free with the new version of
select_zephyr and our bottom_whitespace div.

(imported from commit 0d6c3e4d0a70e06b9b2f6e5830b3a9650e44441a)
This commit is contained in:
Waseem Daher 2012-10-03 18:15:02 -04:00
parent 59a00cb1ab
commit c7175f5f43

View File

@ -38,14 +38,6 @@ function process_hotkey(code) {
if (next_zephyr.length !== 0) {
select_zephyr(next_zephyr, true);
}
if ((next_zephyr.length === 0) && (code === 40)) {
// At the last zephyr, scroll to the bottom so we have
// lots of nice whitespace for new zephyrs coming in.
//
// FIXME: this doesn't work for End because get_last_visible()
// always returns a zephyr.
$("#main_div").scrollTop($("#main_div").prop("scrollHeight"));
}
return process_hotkey;
}