From: Ben Darnell Date: Thu, 28 Jun 2018 01:15:10 +0000 (-0400) Subject: demos: Remove redundant assignment X-Git-Tag: v5.1.0~3^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d68e63f55bdbfb4b1b240f1132a812df52e865eb;p=thirdparty%2Ftornado.git demos: Remove redundant assignment Fixes #2415 --- diff --git a/demos/chat/static/chat.js b/demos/chat/static/chat.js index 151a5880b..48a63c413 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);