moderator-toolbox-nxg-for-reddit / modules/betterbuttons/features/buttonUtils modules/betterbuttons/features/buttonUtils¶ Functions¶ clickIfNotPressed()¶ clickIfNotPressed(button): void Defined in: extension/data/modules/betterbuttons/features/buttonUtils.ts:7 Clicks a mod-action button only if it has not already been pressed. Parameters¶ button¶ HTMLElement | null | undefined The button element to click, or null/undefined to no-op. Returns¶ void