# HG changeset patch # User neko259 # Date 2014-12-08 11:04:33 # Node ID e7cc348cd116c9a93be13e17ab56a741a818d9f0 # Parent 6155490bc755ee16f34ad3687a3b73ea8eff006c Fixed issue in thread diff diff --git a/boards/static/js/thread_update.js b/boards/static/js/thread_update.js --- a/boards/static/js/thread_update.js +++ b/boards/static/js/thread_update.js @@ -82,9 +82,6 @@ function connectWebsocket() { * missed. */ function getThreadDiff() { - var lastPost = threadPosts.last(); - var threadId = threadPosts.first().attr('id'); - var diffUrl = '/api/diff_thread/' + threadId + '/' + lastUpdateTime + '/'; lastUpdateTime = $('.metapanel').attr('data-last-update');