Move go_to_high_water_mark back to zephyr.js

(imported from commit 843199811bf16afd4b54c2b0467b3b18d431b73a)
This commit is contained in:
Keegan McAllister 2012-10-04 01:13:53 -04:00
parent 0830799ce4
commit 46a788202d
2 changed files with 4 additions and 4 deletions

View File

@ -62,10 +62,6 @@ function zephyr_mousemove() {
} }
} }
function go_to_high_water_mark() {
select_and_show_by_id(high_water_mark);
}
var autocomplete_needs_update = false; var autocomplete_needs_update = false;
function update_autocomplete() { function update_autocomplete() {

View File

@ -56,6 +56,10 @@ var message_groups = {
var high_water_mark = 0; var high_water_mark = 0;
function go_to_high_water_mark() {
select_and_show_by_id(high_water_mark);
}
function scroll_to_selected() { function scroll_to_selected() {
var main_div = $('#main_div'); var main_div = $('#main_div');
main_div.scrollTop(0); main_div.scrollTop(0);