keyboard-icon: Use tippyjs for tooltip.

Tippyjs automatically places it to left.
This commit is contained in:
Aman Agrawal
2021-02-25 02:33:53 +00:00
committed by Tim Abbott
parent 18907eac33
commit d4248cf060
2 changed files with 1 additions and 5 deletions

View File

@@ -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();
});