Skip to content

Commit

Permalink
Add a link to the issue
Browse files Browse the repository at this point in the history
  • Loading branch information
slavaleleka authored and AdamWr committed Mar 14, 2023
1 parent 6054ef1 commit 15ba0aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/scriptlets/trusted-click-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ export function trustedClickElement(source, selectors, extraMatch = '', delay =
for (let i = 0; i < elementsSequence.length; i += 1) {
const elementObj = elementsSequence[i];
// Add a delay between clicks to every element except the first one
// https://github.com/AdguardTeam/Scriptlets/issues/284
if (i >= 1) {
await sleep(STATIC_CLICK_DELAY_MS);
}
Expand Down

0 comments on commit 15ba0aa

Please # to comment.