Skip to content

Commit 81807ce

Browse files
authored
Merge pull request GoogleChromeLabs#42 from oldergod/patch-1
Fix typo, kind of
2 parents 989c26f + 25d46ba commit 81807ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infinite-scroller/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
if(!node.children || node.children.length == 0)
173173
return 0;
174174
var childrenCount = Array.from(node.children).map(numDomNodes);
175-
return node.children.length + childrenCount.reduce(function(p, c){ return p + c, 0;});
175+
return node.children.length + childrenCount.reduce(function(p, c){ return p + c; }, 0);
176176
}
177177

178178
document.addEventListener('DOMContentLoaded', function() {

0 commit comments

Comments
 (0)