Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
skocheri committed Oct 16, 2020
1 parent 7440f9e commit 021cd69
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions modules/idLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ function bodyAction(conf, mutations, observer) {

function targetAction(conf, mutations, observer) {
logInfo('Target observer called');

mutations.forEach((mutation) => {
mutation.addedNodes.forEach((node) => {
for (const mutation of mutations) {
for (const node of mutation.addedNodes) {
email = node.textContent;

if (email) {
Expand All @@ -77,8 +76,8 @@ function targetAction(conf, mutations, observer) {
logInfo(' Post data on email found in target');
postData(conf.url);
}
});
});
}
}
}

function addInputElementsElementListner(conf) {
Expand Down

0 comments on commit 021cd69

Please sign in to comment.