Apply review suggestion from @raccube

Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
This commit is contained in:
Andreas Nedbal 2022-01-09 15:51:29 +01:00 committed by Andreas Nedbal
parent bc979a3615
commit b287892c19
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export function commentCreateHandler(event: KeyboardEvent): boolean {
const sub = document.querySelector<HTMLElement>(`[data-action=ab-submarine][data-a-id="${id}"]`);
sub.dataset.torpedo = "no"
sub.children[0].nextSibling.textContent = I18n.translate('views.actions.unsubscribe');
sub.children[0].nextSibling.textContent = ' ' + I18n.translate('views.actions.unsubscribe');
}
showNotification(data.message, data.success);