From 93dbb21aff7db104aa2f27f3543209fa9cf3a560 Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Thu, 4 Oct 2012 13:47:50 -0400 Subject: [PATCH] Prevent glitching on scrolling. This duplicate call to scrollTop is the source of our problems. (imported from commit 4374e0837d2af5eb20545449469fade7b5d47aca) --- zephyr/static/js/zephyr.js | 1 - 1 file changed, 1 deletion(-) diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index 8b0cd69cab..7136e1fd7a 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -56,7 +56,6 @@ var message_groups = { function scroll_to_selected() { var viewport = $(window); - viewport.scrollTop(0); viewport.scrollTop(selected_zephyr.offset().top - viewport.height()/1.5); }