diff options
Diffstat (limited to 'src/static/js/chat.js')
-rw-r--r-- | src/static/js/chat.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/static/js/chat.js b/src/static/js/chat.js index fb016eaa..65fc8dd9 100644 --- a/src/static/js/chat.js +++ b/src/static/js/chat.js @@ -183,12 +183,12 @@ var chat = (function() self.send(); } }); - - // initial messages are loaded in pad.js' _afterHandshake - - $("#chatcounter").text(0); - $("#chatloadmessagesbutton").click(function() - { + + // initial messages are loaded in pad.js' _afterHandshake + + $("#chatcounter").text(0); + $("#chatloadmessagesbutton").click(function() + { var start = Math.max(self.historyPointer - 20, 0); var end = self.historyPointer; @@ -200,7 +200,7 @@ var chat = (function() pad.collabClient.sendMessage({"type": "GET_CHAT_MESSAGES", "start": start, "end": end}); self.historyPointer = start; - }); + }); } } |