2022-01-08 17:16:22 -08:00
|
|
|
import { reportDialog } from 'utilities/reportDialog';
|
|
|
|
|
2022-09-03 07:20:07 -07:00
|
|
|
export function questionReportHandler(event: Event): void {
|
2022-01-03 13:21:26 -08:00
|
|
|
event.preventDefault();
|
|
|
|
const button = event.target as HTMLButtonElement;
|
|
|
|
const questionId = button.dataset.qId;
|
|
|
|
|
2022-01-08 17:16:22 -08:00
|
|
|
reportDialog('question', questionId);
|
2022-01-03 13:21:26 -08:00
|
|
|
}
|