We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 989c26f + 25d46ba commit 81807ceCopy full SHA for 81807ce
infinite-scroller/index.html
@@ -172,7 +172,7 @@
172
if(!node.children || node.children.length == 0)
173
return 0;
174
var childrenCount = Array.from(node.children).map(numDomNodes);
175
- return node.children.length + childrenCount.reduce(function(p, c){ return p + c, 0;});
+ return node.children.length + childrenCount.reduce(function(p, c){ return p + c; }, 0);
176
}
177
178
document.addEventListener('DOMContentLoaded', function() {
0 commit comments