mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 02:17:50 +01:00
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
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,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('views.actions.unsubscribe');
|
||||||
}
|
}
|
||||||
|
|
||||||
showNotification(data.message, data.success);
|
showNotification(data.message, data.success);
|
||||||
|
|
Loading…
Reference in a new issue