Fixes count

This commit is contained in:
Yang Lin 2016-11-25 01:50:59 +08:00
parent ab5bc95df3
commit 20129e39d5
1 changed files with 1 additions and 6 deletions

View File

@ -54,16 +54,11 @@ var sourceVisible = localStorage.getItem('source-visible') === 'true';
processContainer(node);
break;
default:
if (node.innerText === 'Back to top') {
var x = 0;
}
if (processContainer(node) <= 1) {
if (processBlock(node)) {
i++;
count++;
}
} else {
count++;
}
break;
}