Skip to content

Commit

Permalink
fixes night#3628
Browse files Browse the repository at this point in the history
  • Loading branch information
night committed Oct 29, 2019
1 parent c2145d8 commit dfa7dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/chat_moderator_cards/moderator-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ class ModeratorCard {
const currentUserCanModerate = !isCurrentUser && (currentUserIsOwner || (currentUserIsModerator && !isModerator));
if (currentUserCanModerate) return;

const $moderatorActions = this.$element.find('.viewer-card__actions');
const $moderatorActions = this.$element.find('div[data-test-selector="viewer-card-social-actions"]');
const $messages = $(userMessagesTemplate(this.messages.map(({outerHTML}) => outerHTML)));
$moderatorActions.after($messages);

Expand Down

0 comments on commit dfa7dd2

Please sign in to comment.