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

modules/betterbuttons/features/autoApprove

Functions

createAutoApproveHandlers()

createAutoApproveHandlers(): object

Defined in: extension/data/modules/betterbuttons/features/autoApprove.ts:12

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

Returns

An object containing handleIgnoreClick.

handleIgnoreClick()

handleIgnoreClick(element): void

Clicks the approve button when the ignore-reports button is clicked, if the item has not already been approved.

Parameters
element

Element

The ignore-reports button that was clicked.

Returns

void