mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
keyboard-icon: Use tippyjs for tooltip.
Tippyjs automatically places it to left.
This commit is contained in:
@@ -335,10 +335,6 @@ export function initialize_kitchen_sink_stuff() {
|
||||
|
||||
$('.copy_message[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
// We disable animations here because they can cause the tooltip
|
||||
// to change shape while fading away in weird way.
|
||||
$("#keyboard-icon").tooltip({placement: "left", animation: false});
|
||||
|
||||
$("body").on("mouseover", ".message_edit_content", function () {
|
||||
$(this).closest(".message_row").find(".copy_message").show();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user