mirror of https://github.com/zulip/zulip.git
recent: Rename #recent_topics_view.
This commit is contained in:
parent
131127aa30
commit
0e6cbf14ea
|
@ -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">
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -496,7 +496,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
#recent_topics_view {
|
||||
#recent_view {
|
||||
display: none;
|
||||
position: relative;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue