recent: Rename #recent_topics_view.

This commit is contained in:
evykassirer 2023-09-06 14:39:16 -07:00 committed by Tim Abbott
parent 131127aa30
commit 0e6cbf14ea
3 changed files with 5 additions and 5 deletions

View File

@ -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">

View File

@ -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

View File

@ -496,7 +496,7 @@
}
}
#recent_topics_view {
#recent_view {
display: none;
position: relative;
}