From fe3fcd334ea5a40c2fbcf1cb9b68dd28bedfcf9e Mon Sep 17 00:00:00 2001 From: Waseem Daher Date: Thu, 4 Oct 2012 13:28:14 -0400 Subject: [PATCH] Remove dead code. This code is the start of something that would make your narrowed-on message remain in the same place post-narrow, which is possibly a good idea. (imported from commit 0a557d6492de470928245b33f95ae8c0102db0a6) --- zephyr/static/js/narrow.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/zephyr/static/js/narrow.js b/zephyr/static/js/narrow.js index a54280aa00..8ed9b277e2 100644 --- a/zephyr/static/js/narrow.js +++ b/zephyr/static/js/narrow.js @@ -10,10 +10,6 @@ function do_narrow(description, filter_function) { // Your pointer isn't changed when narrowed. persistent_zephyr_id = selected_zephyr_id; - // We want the zephyr on which the narrow happened to stay in the same place if possible. - var old_top = $("#main_div").offset().top - selected_zephyr.offset().top; - var parent; - // Empty the filtered table right before we fill it again clear_table('zfilt'); add_to_table(zephyr_array, 'zfilt', filter_function, 'bottom');