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)
This commit is contained in:
Waseem Daher 2012-10-04 13:28:14 -04:00
parent 0fcec1aad9
commit fe3fcd334e

View File

@ -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');