#1443, fix error upon comment

This commit is contained in:
Ahmed Ejaz 2023-11-10 00:30:47 +05:00 committed by Andreas Nedbal
parent 878fb4df68
commit 8fa6c24b4a
1 changed files with 0 additions and 4 deletions

View File

@ -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);