Fix lint
// FREEBIE
This commit is contained in:
parent
f610233ef6
commit
487f75dd27
1 changed files with 3 additions and 2 deletions
|
@ -275,14 +275,15 @@
|
||||||
},
|
},
|
||||||
|
|
||||||
sendMessage: function(e) {
|
sendMessage: function(e) {
|
||||||
|
var toast;
|
||||||
if (extension.expired()) {
|
if (extension.expired()) {
|
||||||
var toast = new Whisper.ExpiredToast();
|
toast = new Whisper.ExpiredToast();
|
||||||
toast.$el.insertAfter(this.$el);
|
toast.$el.insertAfter(this.$el);
|
||||||
toast.render();
|
toast.render();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (this.model.isPrivate() && storage.isBlocked(this.model.id)) {
|
if (this.model.isPrivate() && storage.isBlocked(this.model.id)) {
|
||||||
var toast = new Whisper.BlockedToast();
|
toast = new Whisper.BlockedToast();
|
||||||
toast.$el.insertAfter(this.$el);
|
toast.$el.insertAfter(this.$el);
|
||||||
toast.render();
|
toast.render();
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue