mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 22:12:13 +02:00
6 lines
No EOL
229 B
TypeScript
6 lines
No EOL
229 B
TypeScript
export function commentToggleHandler(event: Event): void {
|
|
const button = event.target as HTMLButtonElement;
|
|
const id = button.dataset.aId;
|
|
|
|
document.querySelector(`#ab-comments-section-${id}`).classList.toggle('d-none');
|
|
} |