From c703dba3dd766aff39ab9b699e24120fbdfa6410 Mon Sep 17 00:00:00 2001 From: Baris Soner Usakli Date: Wed, 12 Feb 2014 12:46:56 -0500 Subject: [PATCH] closes #1009 --- public/src/modules/chat.js | 2 +- public/templates/chat.tpl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/public/src/modules/chat.js b/public/src/modules/chat.js index b1ec331c18..c874b330b1 100644 --- a/public/src/modules/chat.js +++ b/public/src/modules/chat.js @@ -131,7 +131,7 @@ define(['taskbar', 'string'], function(taskbar, S) { chatModal.find('#chat-with-name').html(username); - chatModal.find('.close').on('click', function(e) { + chatModal.find('#chat-close-btn').on('click', function(e) { clearInterval(chatModal.intervalId); chatModal.intervalId = 0; chatModal.remove(); diff --git a/public/templates/chat.tpl b/public/templates/chat.tpl index 51612add45..8cc01343d8 100644 --- a/public/templates/chat.tpl +++ b/public/templates/chat.tpl @@ -3,7 +3,7 @@