Correctly narrow to stream using search box from subscription page.

Fixes #1012.
This commit is contained in:
krtkmj
2016-06-18 23:04:20 +05:30
committed by Tim Abbott
parent 9482cdccf4
commit 734ab8d5e3

View File

@@ -255,6 +255,8 @@ exports.activate = function (raw_operators, opts) {
$("body").addClass("narrowed_view"); $("body").addClass("narrowed_view");
$("#zfilt").addClass("focused_table"); $("#zfilt").addClass("focused_table");
$("#zhome").removeClass("focused_table"); $("#zhome").removeClass("focused_table");
ui.change_tab_to('#home');
message_list.narrowed = msg_list; message_list.narrowed = msg_list;
current_msg_list = message_list.narrowed; current_msg_list = message_list.narrowed;