loadMoreMessages: Fix broken reference to this.view.outerHeight
:0/ FREEBIE
This commit is contained in:
parent
f901fefb85
commit
0c2c36c11a
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@
|
||||||
var endingHeight = this.view.scrollHeight;
|
var endingHeight = this.view.scrollHeight;
|
||||||
var delta = endingHeight - startingHeight;
|
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);
|
this.view.$el.scrollTop(newScrollPosition);
|
||||||
}.bind(this), 1);
|
}.bind(this), 1);
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue