Skip to content

Commit

Permalink
fix removal reasons on new reddit (#545)
Browse files Browse the repository at this point in the history
  • Loading branch information
creesch committed Dec 11, 2021
1 parent b9a1f59 commit fad7e6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extension/data/modules/removalreasons.js
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,8 @@ function removalreasons () {
}

// Open reason drop-down when we remove something as ham.
$('body').on('click', 'button:contains("remove"), button:contains("Confirm removal"), .tb-add-removal-reason, .big-mod-buttons > span > .pretty-button.neutral, .remove-button, .tb-submission-button-remove, .tb-comment-button-remove', async function (event) {
$('body').on('click', 'button:contains("remove"), button:contains("Remove"), button:contains("Confirm removal"), .tb-add-removal-reason, .big-mod-buttons > span > .pretty-button.neutral, .remove-button, .tb-submission-button-remove, .tb-comment-button-remove', async function (event) {
console.error('trigger');
const $button = $(this);
let thingID,
thingSubreddit,
Expand Down

0 comments on commit fad7e6d

Please sign in to comment.