Skip to content

Commit

Permalink
Use a more descriptive parameter name
Browse files Browse the repository at this point in the history
Co-authored-by: LB (Ben Johnston) <[email protected]>
  • Loading branch information
grncdr and lb- authored Feb 18, 2023
1 parent 83e84b7 commit e26e13d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const defaultSchema: Schema = {
button: () => "click",
form: () => "submit",
details: () => "toggle",
input: (e) => (e.getAttribute("type") == "submit" ? "click" : "input"),
input: (element) => (element.getAttribute("type") == "submit" ? "click" : "input"),
select: () => "change",
textarea: () => "input",
}
Expand Down

0 comments on commit e26e13d

Please sign in to comment.