From 06d69f10d9524dbe5606b7084d73a569860b68e4 Mon Sep 17 00:00:00 2001 From: Zev Benjamin Date: Fri, 22 Feb 2013 11:46:05 -0500 Subject: [PATCH] Remove superfluous call to MessageList.closest_id (imported from commit 11d4f096517df4b9ed89f184a1d383c8a55697bc) --- zephyr/static/js/narrow.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zephyr/static/js/narrow.js b/zephyr/static/js/narrow.js index c1346b7d7a..172e2fc099 100644 --- a/zephyr/static/js/narrow.js +++ b/zephyr/static/js/narrow.js @@ -230,8 +230,7 @@ exports.activate = function (operators, opts) { function maybe_select_closest() { if (! narrowed_msg_list.empty()) { - var id = narrowed_msg_list.closest_id(then_select_id); - narrowed_msg_list.select_id(id, {then_scroll: true, use_closest: true}); + narrowed_msg_list.select_id(then_select_id, {then_scroll: true, use_closest: true}); } }