From 05e0393fa6f19de7dcc4568cb7b28ebc5121faf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 26 Dec 2011 20:02:23 +0100 Subject: [PATCH] Fixed formatting --- file/js/TimWolla.WCF.Chat.coffee | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/file/js/TimWolla.WCF.Chat.coffee b/file/js/TimWolla.WCF.Chat.coffee index d578681..47858e9 100644 --- a/file/js/TimWolla.WCF.Chat.coffee +++ b/file/js/TimWolla.WCF.Chat.coffee @@ -1,10 +1,10 @@ ### # TimWolla.WCF.Chat -# -# @author Tim Düsterhus -# @copyright 2010-2011 Tim Düsterhus -# @license Creative Commons Attribution-NonCommercial-ShareAlike -# @package timwolla.wcf.chat +# +# @author Tim Düsterhus +# @copyright 2010-2011 Tim Düsterhus +# @license Creative Commons Attribution-NonCommercial-ShareAlike +# @package timwolla.wcf.chat ### TimWolla ?= {} @@ -19,7 +19,7 @@ TimWolla.WCF ?= {} @refreshRoomList() new WCF.PeriodicalExecuter $.proxy(@refreshRoomList, this), 60e3 new WCF.PeriodicalExecuter $.proxy(@getMessages, this), @config.reloadTime * 1000 - + $('#chatInput').focus() ### # Binds all the events needed for Tims Chat. @@ -28,12 +28,12 @@ TimWolla.WCF ?= {} $('.smiley').click $.proxy (event) -> @insertText ' ' + $(event.target).attr('alt') + ' ' , this - + $('.chatSidebarTabs li').click $.proxy (event) -> event.preventDefault() @toggleSidebarContents $ event.target , this - + $('.chatUser .chatUserLink').click $.proxy (event) -> event.preventDefault() @toggleUserMenu $ event.target @@ -80,7 +80,7 @@ TimWolla.WCF ?= {} # mark as active $('.activeMenuItem .chatRoom').parent().removeClass 'activeMenuItem' target.parent().addClass 'activeMenuItem' - + # set new topic if data.topic is '' return if $('#topic').text().trim() is ''