mirror of https://github.com/zulip/zulip.git
message_edit: Fix tooltip with multiple messages being edited.
This fixes an issue where if there were multiple messages being edited, all of them would have the same tooltip content.
This commit is contained in:
parent
5b656db303
commit
5b3caa4d18
|
@ -149,7 +149,7 @@ function edit_message (row, raw_content) {
|
|||
// Add tooltip
|
||||
if (page_params.realm_message_content_edit_limit_seconds > 0) {
|
||||
row.find('.message-edit-timer-control-group').show();
|
||||
$('#message_edit_tooltip').tooltip({
|
||||
row.find('#message_edit_tooltip').tooltip({
|
||||
animation: false,
|
||||
placement: 'left',
|
||||
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div>' +
|
||||
|
|
Loading…
Reference in New Issue