Last seen indicator/scroll down button - defensive removal
FREEBIE
This commit is contained in:
parent
4f90cefd4f
commit
b985228160
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue