From: Zachary Vance Date: Tue, 7 Jul 2015 19:49:08 +0000 (-0700) Subject: Clear chat when going to them again X-Git-Url: https://git.za3k.com/?a=commitdiff_plain;p=petchat.git Clear chat when going to them again --- diff --git a/chat.js b/chat.js index 4409c07..0476102 100644 --- a/chat.js +++ b/chat.js @@ -159,7 +159,7 @@ Chatroom.prototype = { content.scrollTop(content.height()); }, clear: function() { - this.chat.find(".conent").empty(); + this.chat.find(".content").empty(); }, bind: function(chat) { this.chat = chat;