Skip to content

Commit

Permalink
fix: update Reddit Repost Sleuth
Browse files Browse the repository at this point in the history
  • Loading branch information
dessant committed Jun 23, 2024
1 parent 32549ad commit 48e6e4a
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/engines/repostSleuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ async function search({session, search, image, storageIds}) {
input.dispatchEvent(new Event('input'));
}

(
await findNode('.v-main button.primary:not(.v-btn--disabled)', {
observerOptions: {attributes: true, attributeFilter: ['class']}
})
).click();
const button = await findNode(
'.v-main button.primary:not(.v-btn--disabled)',
{observerOptions: {attributes: true, attributeFilter: ['class']}}
);

window.setTimeout(() => button.click(), 300);
}

function init() {
Expand Down

0 comments on commit 48e6e4a

Please sign in to comment.