From 09704444e90bab19641f3a906df4c64c160946c5 Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 18 Feb 2015 23:57:13 -0800 Subject: [PATCH] Fix missing delivery receipt checkmarks The delivered class should be updated on each render to ensure it is up to date. --- js/views/message_view.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/views/message_view.js b/js/views/message_view.js index 036578a6..d53cf910 100644 --- a/js/views/message_view.js +++ b/js/views/message_view.js @@ -51,6 +51,8 @@ }) ); + if (this.model.get('delivered')) { this.$el.addClass('delivered'); } + this.$el.find('.attachments').append( this.model.get('attachments').map(function(attachment) { return new Whisper.AttachmentView({