mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 16:37:23 +00:00
Remove incorrect 'title' argument when creating timeinfo popover
Bootstrap ignored this and instead used the title= attribute, containing the full timestamp, which seems like what we want. (imported from commit 8442835d61f89bd0bce75c05e17aabe85e0f417c)
This commit is contained in:
@@ -399,8 +399,8 @@ function show_userinfo_popover(element, id) {
|
|||||||
// Only show the time-travel popover when narrowed
|
// Only show the time-travel popover when narrowed
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Bootstrap takes the title from the 'title' attribute of elt
|
||||||
elt.popover({placement: "bottom",
|
elt.popover({placement: "bottom",
|
||||||
title: templates.userinfo_popover_title(message),
|
|
||||||
content: templates.timeinfo_popover_content(message),
|
content: templates.timeinfo_popover_content(message),
|
||||||
trigger: "manual"
|
trigger: "manual"
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user