From 07cc079c8dc9bbd4b40f5f32ffff7457b17ce7b8 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Sat, 13 Jan 2024 17:20:25 +0000 Subject: [PATCH] narrow: Remove unused `narrowed_view` class. --- web/src/narrow.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/src/narrow.js b/web/src/narrow.js index cd035376e0..c251f805ef 100644 --- a/web/src/narrow.js +++ b/web/src/narrow.js @@ -425,7 +425,6 @@ export function activate(raw_terms, opts) { // Show the new set of messages. It is important to set message_lists.current to // the view right as it's being shown, because we rely on message_lists.current // being shown for deciding when to condense messages. - $("body").addClass("narrowed_view"); msg_list.view.$list.addClass("focused-message-list"); message_lists.home.view.$list.removeClass("focused-message-list"); @@ -1078,7 +1077,6 @@ export function deactivate() { narrow_state.reset_current_filter(); narrow_state.set_has_shown_message_list_view(); - $("body").removeClass("narrowed_view"); message_lists.home.view.$list.addClass("focused-message-list"); // Remove old message list from DOM. if (message_lists.current !== message_lists.home) {