From 2c7a942fbc255445f838fcbc1095cb54f63a4ffe Mon Sep 17 00:00:00 2001 From: JC Brand Date: Tue, 9 Jan 2018 12:32:42 +0000 Subject: [PATCH] Remove unused declaration --- src/converse-chatview.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/converse-chatview.js b/src/converse-chatview.js index 53029d105..2a5b585fa 100644 --- a/src/converse-chatview.js +++ b/src/converse-chatview.js @@ -498,9 +498,8 @@ * attributes. */ const current_msg_date = moment(attrs.time) || moment, - prepend_html = _.bind(this.content.insertAdjacentHTML, this.content, 'afterbegin'), - previous_msg_date = this.getLastMessageDate(current_msg_date), - message_el = this.renderMessage(attrs); + previous_msg_date = this.getLastMessageDate(current_msg_date), + message_el = this.renderMessage(attrs); if (_.isNull(previous_msg_date)) { this.content.insertAdjacentElement('afterbegin', message_el);