mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Reuse a variable
FREEBIE
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
if (this.shouldStickToBottom) {
|
||||
this.bottomOffset = 0;
|
||||
} else {
|
||||
this.bottomOffset = this.scrollHeight - this.$el.scrollTop() - this.$el.outerHeight();
|
||||
this.bottomOffset = this.scrollHeight - this.$el.scrollTop() - this.outerHeight;
|
||||
}
|
||||
},
|
||||
resetScrollPosition: function() {
|
||||
|
||||
Reference in New Issue
Block a user