message_edit: Replace image tag with inline SVG tag for clipboard image.

This commit is contained in:
Raghav Jajodia
2017-04-06 19:27:50 +05:30
committed by Tim Abbott
parent ae48eaa90d
commit 09090fa8a6
5 changed files with 9 additions and 14 deletions

View File

@@ -223,13 +223,11 @@ $(function () {
});
$("body").on("mouseenter", ".copy_message", function () {
$(this).find('img#clipboard_image').attr("src", "/static/images/clippy_hover.svg");
$(this).show();
$(this).tooltip('show');
});
$("body").on("mouseleave", ".copy_message", function () {
$(this).find('img#clipboard_image').attr("src", "/static/images/clippy.svg");
$(this).tooltip('hide');
});