moderator-toolbox-nxg-for-reddit / modules/commentActions/dom

modules/commentActions/dom

Functions

createCommentActionsSlot()

createCommentActionsSlot(): () => void

Defined in: extension/data/modules/commentActions/dom.tsx:13

Registers the recreated comment controls at the thingFlatListActions location (comment-only) and returns a combined cleanup. The vote arrows register at order: -10 so they sit FIRST - left of Second opinion and the mod actions, like Reddit’s native row; Reply + the ⋯ Expand toggle register at order: 20, after the mod actions. The location context lacks the comment element, so it’s read from the DOM target.

Returns

() => void