Skip to content

Commit

Permalink
Set ariaBusy to null after morph
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Mar 3, 2024
1 parent b49096d commit 638e63b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion dist/morphlex.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/morphlex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export function morph(node: ChildNode, reference: ChildNode | string, options: O
if (isElement(node)) {
node.ariaBusy = "true";
new Morph(options).morph(node, reference);
node.ariaBusy = "false";
node.ariaBusy = null;
} else {
new Morph(options).morph(node, reference);
}
Expand Down

0 comments on commit 638e63b

Please sign in to comment.