mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Last seen indicator/scroll down button - defensive removal
FREEBIE
This commit is contained in:
@@ -366,15 +366,17 @@
|
||||
|
||||
removeScrollDownButton: function() {
|
||||
if (this.scrollDownButton) {
|
||||
this.scrollDownButton.remove();
|
||||
var button = this.scrollDownButton;
|
||||
this.scrollDownButton = null;
|
||||
button.remove();
|
||||
}
|
||||
},
|
||||
|
||||
removeLastSeenIndicator: function() {
|
||||
if (this.lastSeenIndicator) {
|
||||
this.lastSeenIndicator.remove();
|
||||
var indicator = this.lastSeenIndicator;
|
||||
this.lastSeenIndicator = null;
|
||||
indicator.remove();
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user