Skip to content

Commit

Permalink
loadMoreMessages: Fix broken reference to this.view.outerHeight
Browse files Browse the repository at this point in the history
:0/

FREEBIE
  • Loading branch information
scottnonnenberg committed Jun 2, 2017
1 parent f901fef commit 0c2c36c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/views/conversation_view.js
Expand Up @@ -332,7 +332,7 @@
var endingHeight = this.view.scrollHeight;
var delta = endingHeight - startingHeight;

var newScrollPosition = this.view.scrollPosition + delta - this.view.
var newScrollPosition = this.view.scrollPosition + delta - this.view.outerHeight;
this.view.$el.scrollTop(newScrollPosition);
}.bind(this), 1);
}.bind(this));
Expand Down

0 comments on commit 0c2c36c

Please sign in to comment.