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_loading_messages_indicator.

evykassirerf7b96b2beef5
diff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.html
index 159a9e2fc91..9cebb673940 100644
--- a/templates/zerver/app/index.html
+++ b/templates/zerver/app/index.html
@@ -233,7 +233,7 @@
<path d="M566.66 527.25c0 33.03-24.23 60.05-53.84 60.05H260.29c-29.61 0-53.84-27.02-53.84-60.05 0-20.22 9.09-38.2 22.93-49.09l134.37-120c2.5-2.14 5.74 1.31 3.94 4.19l-49.29 98.69c-1.38 2.76.41 6.16 3.25 6.16h191.18c29.61 0 53.83 27.03 53.83 60.05zm0-281.39c0 20.22-9.09 38.2-22.93 49.09l-134.37 120c-2.5 2.14-5.74-1.31-3.94-4.19l49.29-98.69c1.38-2.76-.41-6.16-3.25-6.16H260.29c-29.61 0-53.84-27.02-53.84-60.05s24.23-60.05 53.84-60.05h252.54c29.61 0 53.83 27.02 53.83 60.05z"/>
</svg>
</div>
- <div id="recent_topics_loading_messages_indicator"></div>
+ <div id="recent_view_loading_messages_indicator"></div>
</div>
</div>
</div>
diff --git a/web/src/recent_view_ui.js b/web/src/recent_view_ui.js
index fdfa1274f01..64f0cf9b97f 100644
--- a/web/src/recent_view_ui.js
+++ b/web/src/recent_view_ui.js
@@ -288,12 +288,12 @@ export function revive_current_focus() {
}
export function show_loading_indicator() {
- loading.make_indicator($("#recent_topics_loading_messages_indicator"));
+ loading.make_indicator($("#recent_view_loading_messages_indicator"));
}
export function hide_loading_indicator() {
$("#recent_view_bottom_whitespace").hide();
- loading.destroy_indicator($("#recent_topics_loading_messages_indicator"), {
+ loading.destroy_indicator($("#recent_view_loading_messages_indicator"), {
abs_positioned: false,
});
// Show empty table text if there are no messages fetched.
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index df41dc294b7..7e56990b8b3 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -1404,7 +1404,7 @@
#request-progress-status-banner .loading-indicator,
#loading_older_messages_indicator,
- #recent_topics_loading_messages_indicator {
+ #recent_view_loading_messages_indicator {
& path {
fill: hsl(0deg 0% 100%);
}
diff --git a/web/styles/recent_topics.css b/web/styles/recent_topics.css
index 3baee2c0279..1c733e26ef1 100644
--- a/web/styles/recent_topics.css
+++ b/web/styles/recent_topics.css
@@ -471,7 +471,7 @@
*/
height: 120px;
- #recent_topics_loading_messages_indicator,
+ #recent_view_loading_messages_indicator,
.bottom-messages-logo {
display: block;
position: absolute;