Skip to content

Commit

Permalink
fix: -request=false
Browse files Browse the repository at this point in the history
  • Loading branch information
frankpagan committed Feb 17, 2024
1 parent 6a91505 commit dc43f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const CoCreateApi = {

let elements
if (form)
elements = form.querySelectorAll(`[${name}="${method}"]`);
elements = form.querySelectorAll(`[${name}="${method}"]:not([${name}-request="false"])`);
if (!elements || elements.length == 0)
elements = [element]

Expand Down

0 comments on commit dc43f0e

Please sign in to comment.