tippy: Fix blueslip error on edit history timestamp hover.

The timestamp in edit history ui also has .message_time.
We had a tippy hover event attached to .message_time
whose code assumes it to belong to an actual message
which caused an error on hovering the message timestamp
in edit history.

This commit fixes it by making the selector more specific.
This commit is contained in:
Dinesh 2021-07-19 13:39:18 +05:30 committed by Tim Abbott
parent a5afbb60ff
commit dd1fccd2c2
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ export function initialize() {
});
delegate("body", {
target: ".message_time",
target: ".message_table .message_time",
appendTo: () => document.body,
onShow(instance) {
const time_elem = $(instance.reference);