scroll only when needed (#1441)

I believe this was just a simple typo

// FREEBIE
pull/749/head
Michael Kirk 8 years ago committed by Scott Nonnenberg
parent af81b1a045
commit f389380b26
No known key found for this signature in database
GPG Key ID: A4931C09644C654B

@ -48,7 +48,7 @@
this.$el.scrollTop(this.scrollPosition - this.$el.outerHeight());
},
scrollToBottomIfNeeded: function() {
if (this.atBottom()) {
if (!this.atBottom()) {
this.scrollToBottom();
}
},

Loading…
Cancel
Save