scroll only when needed (#1441)

I believe this was just a simple typo

// FREEBIE
This commit is contained in:
Michael Kirk
2017-09-07 12:55:31 -04:00
committed by Scott Nonnenberg
parent af81b1a045
commit f389380b26
+1 -1
View File
@@ -48,7 +48,7 @@
this.$el.scrollTop(this.scrollPosition - this.$el.outerHeight());
},
scrollToBottomIfNeeded: function() {
if (this.atBottom()) {
if (!this.atBottom()) {
this.scrollToBottom();
}
},