mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 19:31:58 +00:00
message_edit: Replace image tag with inline SVG tag for clipboard image.
This commit is contained in:
committed by
Tim Abbott
parent
ae48eaa90d
commit
09090fa8a6
@@ -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');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user