mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Add some resizes
This commit is contained in:
@@ -28,10 +28,12 @@ var Whisper = Whisper || {};
|
||||
},
|
||||
scrollToBottom: function() {
|
||||
// TODO: Avoid scrolling if user has manually scrolled up?
|
||||
this.resize();
|
||||
this.$el.scrollTop(this.el.scrollHeight);
|
||||
},
|
||||
addAll: function() {
|
||||
Whisper.ListView.prototype.addAll.apply(this, arguments); // super()
|
||||
this.resize();
|
||||
this.scrollToBottom();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user