Skip to content

Commit

Permalink
Merge pull request #27 from lukewarlow/mutation-fix
Browse files Browse the repository at this point in the history
Fix mutation observer
  • Loading branch information
keithamus authored Oct 3, 2023
2 parents 2e0bfc5 + cb8cf6e commit 0d5dca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions invoker.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,8 @@ export function apply() {
) {
setupInvokeListeners(mutation.target);
} else if (
mutation.attributeName === "invoketarget" &&
mutation.target.invokeTargetElement
mutation.attributeName === "interesttarget" &&
mutation.target.interestTargetElement
) {
setupInterestListeners(mutation.target);
}
Expand Down

0 comments on commit 0d5dca9

Please sign in to comment.