Remove superfluous call to MessageList.closest_id

(imported from commit 11d4f096517df4b9ed89f184a1d383c8a55697bc)
This commit is contained in:
Zev Benjamin
2013-02-22 11:46:05 -05:00
parent ca0f414b60
commit 06d69f10d9

View File

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