mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Make smilies transparent if disabled
This commit is contained in:
parent
1fc25c5def
commit
5a9725c24e
@ -178,13 +178,6 @@ window.console ?=
|
|||||||
# Refreshes the roomlist
|
# Refreshes the roomlist
|
||||||
$('#timsChatRoomList button').click $.proxy @refreshRoomList, @
|
$('#timsChatRoomList button').click $.proxy @refreshRoomList, @
|
||||||
|
|
||||||
# Clears the stream
|
|
||||||
$('#timsChatClear').click (event) ->
|
|
||||||
event.preventDefault()
|
|
||||||
$('.timsChatMessage').remove()
|
|
||||||
@oldScrollTop = null
|
|
||||||
$('#timsChatMessageContainer').scrollTop $('#timsChatMessageContainer ul').height()
|
|
||||||
|
|
||||||
# Toggle Buttons
|
# Toggle Buttons
|
||||||
$('.timsChatToggle').click (event) ->
|
$('.timsChatToggle').click (event) ->
|
||||||
element = $ @
|
element = $ @
|
||||||
@ -200,6 +193,19 @@ window.console ?=
|
|||||||
|
|
||||||
$('#timsChatInput').focus()
|
$('#timsChatInput').focus()
|
||||||
|
|
||||||
|
# Clears the stream
|
||||||
|
$('#timsChatClear').click (event) ->
|
||||||
|
event.preventDefault()
|
||||||
|
$('.timsChatMessage').remove()
|
||||||
|
@oldScrollTop = null
|
||||||
|
$('#timsChatMessageContainer').scrollTop $('#timsChatMessageContainer ul').height()
|
||||||
|
|
||||||
|
$('#timsChatSmilies.click (event) ->
|
||||||
|
if $(@).data 'status'
|
||||||
|
$('#smilies').removeClass 'disabled'
|
||||||
|
else
|
||||||
|
$('#smilies').addClass 'disabled'
|
||||||
|
|
||||||
# Enable fullscreen-mode
|
# Enable fullscreen-mode
|
||||||
$('#timsChatFullscreen').click (event) ->
|
$('#timsChatFullscreen').click (event) ->
|
||||||
if $(@).data 'status'
|
if $(@).data 'status'
|
||||||
|
Loading…
Reference in New Issue
Block a user