Last seen indicator/scroll down button - defensive removal

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago
parent 4f90cefd4f
commit b985228160

@ -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…
Cancel
Save