mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-08 08:58:38 +01:00
scroll only when needed (#1441)
I believe this was just a simple typo // FREEBIE
This commit is contained in:
committed by
Scott Nonnenberg
parent
af81b1a045
commit
f389380b26
@@ -48,7 +48,7 @@
|
||||
this.$el.scrollTop(this.scrollPosition - this.$el.outerHeight());
|
||||
},
|
||||
scrollToBottomIfNeeded: function() {
|
||||
if (this.atBottom()) {
|
||||
if (!this.atBottom()) {
|
||||
this.scrollToBottom();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user