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.

rendered_markdown: Appease zjquery.

Anders Kaseorg8ed7dcf4c077
diff --git a/static/js/rendered_markdown.js b/static/js/rendered_markdown.js
index 66774fc9b87..04aab93a380 100644
--- a/static/js/rendered_markdown.js
+++ b/static/js/rendered_markdown.js
@@ -171,9 +171,8 @@ export const update_elements = (content) => {
text: rendered_time.text,
});
$(this).html(rendered_timestamp);
- $(this)
- .attr("data-tippy-content", rendered_time.tooltip_content_html)
- .attr("data-tippy-allowHTML", "true");
+ $(this).attr("data-tippy-content", rendered_time.tooltip_content_html);
+ $(this).attr("data-tippy-allowHTML", "true");
} else {
// This shouldn't happen. If it does, we're very interested in debugging it.
blueslip.error(`Could not parse datetime supplied by backend: ${time_str}`);