From a934527f5504c32263a9ff2218ba9ec943efceba Mon Sep 17 00:00:00 2001 From: JJ Date: Mon, 21 Sep 2015 01:02:11 -0400 Subject: [PATCH] No logging. --- infiniteViral.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/infiniteViral.js b/infiniteViral.js index 27e1503..febf0f7 100644 --- a/infiniteViral.js +++ b/infiniteViral.js @@ -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(); } }