mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-22 21:40:08 +00:00
Fixing one problem.
This commit is contained in:
parent
f26fa50bd6
commit
d29a0498ba
@ -450,13 +450,13 @@ consoleMock ?=
|
|||||||
toggleSidebarContents: (target) ->
|
toggleSidebarContents: (target) ->
|
||||||
return if target.parents('li').hasClass 'active'
|
return if target.parents('li').hasClass 'active'
|
||||||
|
|
||||||
if target.parents('li').attr 'id' is 'toggleUsers'
|
if target.parents('li').attr('id') is 'toggleUsers'
|
||||||
$('#toggleUsers').addClass 'active'
|
$('#toggleUsers').addClass 'active'
|
||||||
$('#toggleRooms').removeClass 'active'
|
$('#toggleRooms').removeClass 'active'
|
||||||
|
|
||||||
$('#timsChatRoomList').hide()
|
$('#timsChatRoomList').hide()
|
||||||
$('#timsChatUserList').show()
|
$('#timsChatUserList').show()
|
||||||
else if target.parents('li').attr 'id' is 'toggleRooms'
|
else if target.parents('li').attr('id') is 'toggleRooms'
|
||||||
$('#toggleRooms').addClass 'active'
|
$('#toggleRooms').addClass 'active'
|
||||||
$('#toggleUsers').removeClass 'active'
|
$('#toggleUsers').removeClass 'active'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user