mirror of https://github.com/zulip/zulip.git
ui: Make selectors more specific for message hover.
The hover values here should not apply to draft messages, for example.
This commit is contained in:
parent
8062192759
commit
beaf488eeb
|
@ -128,12 +128,12 @@ exports.initialize_kitchen_sink_stuff = function () {
|
|||
$("body").addClass("more_dense_mode");
|
||||
}
|
||||
|
||||
$("#main_div").on("mouseover", ".message_row", function () {
|
||||
$("#main_div").on("mouseover", ".message_table .message_row", function () {
|
||||
const row = $(this).closest(".message_row");
|
||||
message_hover(row);
|
||||
});
|
||||
|
||||
$("#main_div").on("mouseleave", ".message_row", function () {
|
||||
$("#main_div").on("mouseleave", ".message_table .message_row", function () {
|
||||
message_unhover();
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue