1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2025-01-09 00:20:08 +00:00

Code format

This commit is contained in:
Tim Düsterhus 2012-07-14 14:35:58 +02:00
parent 2f664ceccc
commit 6ec0a7e3a1

View File

@ -178,9 +178,9 @@ window.console ?=
# Enable fullscreen-mode
$('#timsChatFullscreen').click (event) ->
if $(@).data 'status'
$('html').addClass('fullscreen');
$('html').addClass 'fullscreen'
else
$('html').removeClass('fullscreen');
$('html').removeClass 'fullscreen'
# Immediatly scroll down when activating autoscroll
$('#timsChatAutoscroll').click (event) ->
@ -391,7 +391,7 @@ window.console ?=
$(@).remove();
$('#toggleUsers .badge').text(users.length);
$('#toggleUsers .badge').text users.length
###
# Initializes Server-Push
###
@ -423,7 +423,7 @@ window.console ?=
, options or {}
text = $('#timsChatInput').val() + text if options.append
$('#timsChatInput').val(text)
$('#timsChatInput').val text
$('#timsChatInput').keyup()
if (options.submit)