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:
Tim Abbott 2016-10-22 18:33:41 -07:00
parent 5b656db303
commit 5b3caa4d18
1 changed files with 1 additions and 1 deletions

View File

@ -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>' +