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:
parent
2f664ceccc
commit
6ec0a7e3a1
@ -178,9 +178,9 @@ window.console ?=
|
|||||||
# Enable fullscreen-mode
|
# Enable fullscreen-mode
|
||||||
$('#timsChatFullscreen').click (event) ->
|
$('#timsChatFullscreen').click (event) ->
|
||||||
if $(@).data 'status'
|
if $(@).data 'status'
|
||||||
$('html').addClass('fullscreen');
|
$('html').addClass 'fullscreen'
|
||||||
else
|
else
|
||||||
$('html').removeClass('fullscreen');
|
$('html').removeClass 'fullscreen'
|
||||||
|
|
||||||
# Immediatly scroll down when activating autoscroll
|
# Immediatly scroll down when activating autoscroll
|
||||||
$('#timsChatAutoscroll').click (event) ->
|
$('#timsChatAutoscroll').click (event) ->
|
||||||
@ -391,7 +391,7 @@ window.console ?=
|
|||||||
$(@).remove();
|
$(@).remove();
|
||||||
|
|
||||||
|
|
||||||
$('#toggleUsers .badge').text(users.length);
|
$('#toggleUsers .badge').text users.length
|
||||||
###
|
###
|
||||||
# Initializes Server-Push
|
# Initializes Server-Push
|
||||||
###
|
###
|
||||||
@ -423,7 +423,7 @@ window.console ?=
|
|||||||
, options or {}
|
, options or {}
|
||||||
|
|
||||||
text = $('#timsChatInput').val() + text if options.append
|
text = $('#timsChatInput').val() + text if options.append
|
||||||
$('#timsChatInput').val(text)
|
$('#timsChatInput').val text
|
||||||
$('#timsChatInput').keyup()
|
$('#timsChatInput').keyup()
|
||||||
|
|
||||||
if (options.submit)
|
if (options.submit)
|
||||||
|
Loading…
Reference in New Issue
Block a user