Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

Commit

Permalink
No logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
vonbearshark committed Sep 21, 2015
1 parent c55b6c2 commit a934527
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions infiniteViral.js
Original file line number Diff line number Diff line change
Expand Up @@ -870,17 +870,10 @@
//Shouldn't alter inner text if there's an child image tag
var immediateImgChildren = Array.prototype.slice.call(immediateLinkChild.querySelectorAll('img'));
if(!immediateImgChildren.length > 0) {
console.log('no nested image in link child!');
console.log(immediateImgChildren);
immediateLinkChild.innerText = generate();
}
else {
console.log('nested image in link child!');
console.log(immediateImgChildren);
}
}
else if (heading.tagName !== 'DIV') {
console.log('not div!');
heading.innerText = generate();
}
}
Expand Down

0 comments on commit a934527

Please sign in to comment.