Fix missing unsubscribe string in answer actions when posting a comment
This commit is contained in:
parent
16ac195ab9
commit
29608c54c9
|
@ -44,7 +44,7 @@ export function commentCreateHandler(event: KeyboardEvent): boolean {
|
||||||
|
|
||||||
const sub = document.querySelector<HTMLElement>(`[data-action=ab-submarine][data-a-id="${id}"]`);
|
const sub = document.querySelector<HTMLElement>(`[data-action=ab-submarine][data-a-id="${id}"]`);
|
||||||
sub.dataset.torpedo = "no"
|
sub.dataset.torpedo = "no"
|
||||||
sub.children[0].nextSibling.textContent = ' ' + I18n.translate('views.actions.unsubscribe');
|
sub.children[0].nextSibling.textContent = ' ' + I18n.translate('voc.unsubscribe');
|
||||||
}
|
}
|
||||||
|
|
||||||
showNotification(data.message, data.success);
|
showNotification(data.message, data.success);
|
||||||
|
|
Loading…
Reference in New Issue