Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_controls: Use tippy for tooltip.
Aman Agrawaldd35c3ba05f3
diff --git a/static/js/ui_init.js b/static/js/ui_init.jsindex 1a27585cbdc..4d833bfdb28 100644--- a/static/js/ui_init.js+++ b/static/js/ui_init.js@@ -323,8 +323,6 @@ export function initialize_kitchen_sink_stuff() {timerender.set_full_datetime(message, time_elem);});- $('.message_failed i[data-toggle="tooltip"]').tooltip();-$("body").on("mouseover", ".message_edit_content", function () {$(this).closest(".message_row").find(".copy_message").show();});diff --git a/static/templates/message_controls.hbs b/static/templates/message_controls.hbsindex 28847529619..b69abc996f9 100644--- a/static/templates/message_controls.hbs+++ b/static/templates/message_controls.hbs@@ -16,8 +16,8 @@{{/unless}}<div class="message_failed {{#unless msg.failed_request}}notvisible{{/unless}}">- <i class="fa fa-refresh refresh-failed-message" data-toggle="tooltip" title="{{t 'Retry' }}" aria-label="{{t 'Retry' }}" role="button" tabindex="0"></i>- <i class="fa fa-times-circle remove-failed-message" data-toggle="tooltip" title="{{t 'Cancel' }}" aria-label="{{t 'Cancel' }}" role="button" tabindex="0"></i>+ <i class="fa fa-refresh refresh-failed-message tippy-zulip-tooltip" data-tippy-content="{{t 'Retry' }}" aria-label="{{t 'Retry' }}" role="button" tabindex="0"></i>+ <i class="fa fa-times-circle remove-failed-message tippy-zulip-tooltip" data-tippy-content="{{t 'Cancel' }}" aria-label="{{t 'Cancel' }}" role="button" tabindex="0"></i></div>{{#unless msg/locally_echoed}}