moderator-toolbox-nxg-for-reddit / modules/betterbuttons/features/autoIgnoreReports

modules/betterbuttons/features/autoIgnoreReports

Functions

createAutoIgnoreReportsHandlers()

createAutoIgnoreReportsHandlers(): object

Defined in: extension/data/modules/betterbuttons/features/autoIgnoreReports.ts:8

Creates handlers for the auto-ignore-reports-on-approve feature.

Returns

An object containing handleApproveClick.

handleApproveClick()

handleApproveClick(element): void

Clicks the ignore-reports button when the approve button is clicked, if reports have not already been ignored.

Parameters
element

Element

The approve button that was clicked.

Returns

void