From d68e63f55bdbfb4b1b240f1132a812df52e865eb Mon Sep 17 00:00:00 2001 From: Ben Darnell Date: Wed, 27 Jun 2018 21:15:10 -0400 Subject: [PATCH] demos: Remove redundant assignment Fixes #2415 --- demos/chat/static/chat.js | 1 - 1 file changed, 1 deletion(-) diff --git a/demos/chat/static/chat.js b/demos/chat/static/chat.js index 151a5880..48a63c41 100644 --- a/demos/chat/static/chat.js +++ b/demos/chat/static/chat.js @@ -116,7 +116,6 @@ var updater = { newMessages: function(response) { if (!response.messages) return; - updater.cursor = response.cursor; var messages = response.messages; updater.cursor = messages[messages.length - 1].id; console.log(messages.length, "new messages, cursor:", updater.cursor);