Only show scroll down button if we're not at bottom of convo

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-05-19 12:00:21 -07:00
parent 4c7bfbe9ff
commit 8b4402e8a5

View file

@ -278,7 +278,7 @@
unreadEl.insertBefore(this.$('#' + oldestUnread.get('id')));
var position = unreadEl[0].scrollIntoView(true);
if (this.view.bottomOffset === 0) {
if (this.view.bottomOffset > 0) {
this.addScrollDownButtonWithCount(unreadCount);
}
}