From d29a0498ba068f72dc4ac0907e8d54200ebfc0f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Sun, 11 Mar 2012 18:19:11 +0100 Subject: [PATCH] Fixing one problem. --- file/js/TimWolla.WCF.Chat.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/file/js/TimWolla.WCF.Chat.coffee b/file/js/TimWolla.WCF.Chat.coffee index 54e909b..3a3d42e 100644 --- a/file/js/TimWolla.WCF.Chat.coffee +++ b/file/js/TimWolla.WCF.Chat.coffee @@ -450,13 +450,13 @@ consoleMock ?= toggleSidebarContents: (target) -> return if target.parents('li').hasClass 'active' - if target.parents('li').attr 'id' is 'toggleUsers' + if target.parents('li').attr('id') is 'toggleUsers' $('#toggleUsers').addClass 'active' $('#toggleRooms').removeClass 'active' $('#timsChatRoomList').hide() $('#timsChatUserList').show() - else if target.parents('li').attr 'id' is 'toggleRooms' + else if target.parents('li').attr('id') is 'toggleRooms' $('#toggleRooms').addClass 'active' $('#toggleUsers').removeClass 'active'