Skip to content

Commit

Permalink
Fix Modmail Macro Select (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
RGood committed Jul 3, 2023
1 parent b5cdfc3 commit 1eb72b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/data/modules/macros.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ export default new Module({
// if we're a mod, add macros to top level reply button.
if (success && config.length > 0) {
const macroButtonHtml = `<select class="tb-macro-select tb-action-button" data-subreddit="${info.subreddit}"><option value=${MACROS}>macros</option></select>`;
$body.find('.ThreadViewerReplyForm__replyOptions').after(`<div class="tb-usertext-buttons tb-macro-newmm">${macroButtonHtml}</div>`);
$body.find('.ThreadViewerReplyForm__replyFooter .selectWrapper').before(`<div class="tb-usertext-buttons tb-macro-newmm">${macroButtonHtml}</div>`);

populateSelect('.tb-macro-select', info.subreddit, config, 'modmail');
}
Expand Down

0 comments on commit 1eb72b5

Please sign in to comment.