diff --git a/zephyr/static/js/narrow.js b/zephyr/static/js/narrow.js index c3279c4e47..85ae17f07e 100644 --- a/zephyr/static/js/narrow.js +++ b/zephyr/static/js/narrow.js @@ -228,6 +228,10 @@ exports.activate = function (operators, opts) { hashchange.save_narrow(operators); $('#search_query').val(unparse(operators)); search.update_button_visibility(); + // For good measure, redraw the floating recipient bar + // (if the page didn't scroll in achieving this narrow, + // it might still read the wrong thing.) + ui.update_floating_recipient_bar(); }; // Activate narrowing with a single operator. diff --git a/zephyr/static/js/zephyr.js b/zephyr/static/js/zephyr.js index acc73ca9cd..574606d5d0 100644 --- a/zephyr/static/js/zephyr.js +++ b/zephyr/static/js/zephyr.js @@ -189,7 +189,6 @@ function select_message(next_message, opts) { if (opts.then_scroll) { recenter_view(next_message); - ui.update_floating_recipient_bar(); } return true;