Skip to content

Commit

Permalink
Update morphlex.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldrapper committed Mar 1, 2024
1 parent 8c340d1 commit 936a44b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/morphlex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Morph {
}

#populateSensivityMap(node: ReadonlyNode<ParentNode>): void {
const sensitiveElements = node.querySelectorAll("iframe,video,object,embed,audio,input,textarea,canvas");
const sensitiveElements = node.querySelectorAll("audio,canvas,embed,iframe,input,object,textarea,video");
for (const sensitiveElement of sensitiveElements) {
let sensivity = 0;

Expand Down

0 comments on commit 936a44b

Please sign in to comment.