diff --git a/src/js/views/gitDemonstrationView.js b/src/js/views/gitDemonstrationView.js index 96460200..13b0469f 100644 --- a/src/js/views/gitDemonstrationView.js +++ b/src/js/views/gitDemonstrationView.js @@ -85,7 +85,7 @@ var GitDemonstrationView = ContainedBase.extend({ checkScroll: function() { var children = this.$('div.demonstrationText').children().toArray(); var heights = children.map(function(child) { return child.clientHeight; }); - var totalHeight = _.reduce(heights, function(a, b) { return a + b; }); + var totalHeight = heights.reduce(function(a, b) { return a + b; }); if (totalHeight < this.$('div.demonstrationText').height()) { this.$('div.demonstrationText').addClass('noLongText'); }