mirror of https://github.com/zulip/zulip.git
Move go_to_high_water_mark back to zephyr.js
(imported from commit 843199811bf16afd4b54c2b0467b3b18d431b73a)
This commit is contained in:
parent
0830799ce4
commit
46a788202d
|
@ -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() {
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue