#1443, fix error upon comment
This commit is contained in:
parent
878fb4df68
commit
8fa6c24b4a
|
@ -31,10 +31,6 @@ function createComment(input: HTMLInputElement, id: string, counter: Element, gr
|
|||
}
|
||||
input.value = '';
|
||||
counter.innerHTML = String(512);
|
||||
|
||||
const sub = document.querySelector<HTMLElement>(`[data-action=ab-submarine][data-a-id="${id}"]`);
|
||||
sub.dataset.torpedo = "no"
|
||||
sub.children[0].nextSibling.textContent = ' ' + I18n.translate('voc.unsubscribe');
|
||||
}
|
||||
|
||||
showNotification(data.message, data.success);
|
||||
|
|
Loading…
Reference in New Issue