Skip to content

Commit

Permalink
guard selectors arg
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-atr committed Oct 6, 2022
1 parent 26dab5c commit a98f115
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/scriptlets/trusted-click-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ import {
*/
/* eslint-enable max-len */
export function trustedClickElement(source, selectors, delay, extraMatch = '') {
if (!selectors) {
return;
}
// eslint-disable-next-line no-console
const log = console.log.bind(console);

Expand Down

0 comments on commit a98f115

Please sign in to comment.