Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

recent: Rename #recent_topics_view.

evykassirer0e6cbf14eab8
diff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.html
index b6c72f4cc03..9a48b0b6f9d 100644
--- a/templates/zerver/app/index.html
+++ b/templates/zerver/app/index.html
@@ -223,7 +223,7 @@
</div>
<div class="column-middle">
<div class="column-middle-inner">
- <div id="recent_topics_view">
+ <div id="recent_view">
<div class="recent_topics_container">
<div id="recent_view_table"></div>
<div id="recent_topics_bottom_whitespace">
diff --git a/web/src/recent_view_ui.js b/web/src/recent_view_ui.js
index f22028487a4..1318b6a7766 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 422315f73c9..2a0a66168a4 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;
}