mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Focus input after buttonclick
This commit is contained in:
parent
864f00f284
commit
fa07b26b44
@ -159,7 +159,6 @@ window.console ?=
|
|||||||
$('.timsChatMessage').remove()
|
$('.timsChatMessage').remove()
|
||||||
@oldScrollTop = null
|
@oldScrollTop = null
|
||||||
$('.timsChatMessageContainer').scrollTop $('.timsChatMessageContainer ul').height()
|
$('.timsChatMessageContainer').scrollTop $('.timsChatMessageContainer ul').height()
|
||||||
$('#timsChatInput').focus()
|
|
||||||
|
|
||||||
# Toggle Buttons
|
# Toggle Buttons
|
||||||
$('.timsChatToggle').click (event) ->
|
$('.timsChatToggle').click (event) ->
|
||||||
@ -173,6 +172,8 @@ window.console ?=
|
|||||||
element.data 'status', 1
|
element.data 'status', 1
|
||||||
icon.attr 'src', icon.attr('src').replace /disabled(Inverse)?.([a-z]{3})$/, 'enabled$1.$2'
|
icon.attr 'src', icon.attr('src').replace /disabled(Inverse)?.([a-z]{3})$/, 'enabled$1.$2'
|
||||||
element.attr 'title', element.data 'disableMessage'
|
element.attr 'title', element.data 'disableMessage'
|
||||||
|
|
||||||
|
$('#timsChatInput').focus()
|
||||||
|
|
||||||
# Enable fullscreen-mode
|
# Enable fullscreen-mode
|
||||||
$('#timsChatFullscreen').click (event) ->
|
$('#timsChatFullscreen').click (event) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user