From 46a788202d0af689288a1251d093a53d29f44476 Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Thu, 4 Oct 2012 01:13:53 -0400 Subject: [PATCH] Move go_to_high_water_mark back to zephyr.js (imported from commit 843199811bf16afd4b54c2b0467b3b18d431b73a) --- zephyr/static/js/ui.js | 4 ---- zephyr/static/js/zephyr.js | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/zephyr/static/js/ui.js b/zephyr/static/js/ui.js index 33ed651d2f..977979fa32 100644 --- a/zephyr/static/js/ui.js +++ b/zephyr/static/js/ui.js @@ -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; function update_autocomplete() { diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index ade30cfbe3..d0c80feddf 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -56,6 +56,10 @@ var message_groups = { var high_water_mark = 0; +function go_to_high_water_mark() { + select_and_show_by_id(high_water_mark); +} + function scroll_to_selected() { var main_div = $('#main_div'); main_div.scrollTop(0);