From 0e6cbf14eab8e03e268e71ae3f186e5ea36d7869 Mon Sep 17 00:00:00 2001 From: evykassirer Date: Wed, 6 Sep 2023 14:39:16 -0700 Subject: [PATCH] recent: Rename #recent_topics_view. --- templates/zerver/app/index.html | 2 +- web/src/recent_view_ui.js | 6 +++--- web/styles/recent_topics.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.html index b6c72f4cc0..9a48b0b6f9 100644 --- a/templates/zerver/app/index.html +++ b/templates/zerver/app/index.html @@ -223,7 +223,7 @@
-
+
diff --git a/web/src/recent_view_ui.js b/web/src/recent_view_ui.js index f22028487a..1318b6a776 100644 --- a/web/src/recent_view_ui.js +++ b/web/src/recent_view_ui.js @@ -913,7 +913,7 @@ export function show() { // Hide "middle-column" which has html for rendering // a messages narrow. We hide it and show Recent Conversations. $("#message_feed_container").hide(); - $("#recent_topics_view").show(); + $("#recent_view").show(); set_visible(true); unread_ui.hide_unread_banner(); @@ -943,12 +943,12 @@ export function hide() { // forcefully blur it so that focus returns to the visible // focused element. const $focused_element = $(document.activeElement); - if ($("#recent_topics_view").has($focused_element)) { + if ($("#recent_view").has($focused_element)) { $focused_element.trigger("blur"); } $("#message_feed_container").show(); - $("#recent_topics_view").hide(); + $("#recent_view").hide(); set_visible(false); // This solves a bug with message_view_header diff --git a/web/styles/recent_topics.css b/web/styles/recent_topics.css index 422315f73c..2a0a66168a 100644 --- a/web/styles/recent_topics.css +++ b/web/styles/recent_topics.css @@ -496,7 +496,7 @@ } } -#recent_topics_view { +#recent_view { display: none; position: relative; }