Retrospring/app/javascript/retrospring/features/inbox/entry/report.ts

4 lines
164 B
TypeScript
Raw Normal View History

2021-08-11 05:10:24 -07:00
export function reportEventHandler(event: Event): void {
const element = event.target as HTMLElement;
window['reportDialog']('question', element.dataset.qId);
}