From 487f75dd272f5346925942efcd3e43865c6e3c97 Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 7 Sep 2016 13:48:49 -0700 Subject: [PATCH] Fix lint // FREEBIE --- js/views/conversation_view.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 13d6e992..f13a0d26 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -275,14 +275,15 @@ }, sendMessage: function(e) { + var toast; if (extension.expired()) { - var toast = new Whisper.ExpiredToast(); + toast = new Whisper.ExpiredToast(); toast.$el.insertAfter(this.$el); toast.render(); return; } if (this.model.isPrivate() && storage.isBlocked(this.model.id)) { - var toast = new Whisper.BlockedToast(); + toast = new Whisper.BlockedToast(); toast.$el.insertAfter(this.$el); toast.render(); return;