Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
This commit is contained in:
parent
bc979a3615
commit
b287892c19
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue