Fixes count

This commit is contained in:
Yang Lin 2016-11-25 01:50:59 +08:00
parent ab5bc95df3
commit 20129e39d5

View File

@ -54,17 +54,12 @@ 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++;
}
} else {
count++;
}
}
break;
}
}