Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tooltips: Remove unnecessary checks for message action buttons in tippy.
m-e-l-u-h-a-na63a23087f77
diff --git a/static/js/tippyjs.js b/static/js/tippyjs.jsindex d00f32ae61b..40cf7b4ec8f 100644--- a/static/js/tippyjs.js+++ b/static/js/tippyjs.js@@ -140,14 +140,7 @@ export function initialize() {const edit_button = elem.find("i.edit_content_button");content = edit_button.attr("data-tippy-content");}- if (content === undefined) {- // If content is still undefined it is because content- // is specified on inner i tags and is handled by our- // general tippy-zulip-tooltip class. So we return- // false here to avoid showing an extra empty tooltip- // for such cases.- return false;- }+instance.setContent(content);return true;},