Zoom out topics when going to Home view.

(imported from commit 04c5ae70d28bd3b41f2311d22f80f95c458f06a2)
This commit is contained in:
Steve Howell 2013-11-26 10:46:12 -05:00
parent b7d13d542c
commit b3e0c93ca6
1 changed files with 3 additions and 0 deletions

View File

@ -419,6 +419,9 @@ $(function () {
});
$(document).on('narrow_deactivated.zulip', function (event) {
if (zoomed_to_topics) {
zoom_out();
}
$("ul.filters li").removeClass('active-filter active-subject-filter');
remove_expanded_subjects();
$("#global_filters li[data-name='home']").addClass('active-filter');