scroll only when needed (#1441)
I believe this was just a simple typo // FREEBIE
This commit is contained in:
parent
af81b1a045
commit
f389380b26
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@
|
|||
this.$el.scrollTop(this.scrollPosition - this.$el.outerHeight());
|
||||
},
|
||||
scrollToBottomIfNeeded: function() {
|
||||
if (this.atBottom()) {
|
||||
if (!this.atBottom()) {
|
||||
this.scrollToBottom();
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue