mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-10-31 14:10:08 +00:00
Hide upload button while private channel is being active
This commit is contained in:
parent
6f9418e167
commit
c6e776b668
@ -993,13 +993,17 @@ Open private channel
|
||||
$('#timsChatMessageTabMenu > .tabMenu > ul').append li
|
||||
$('#timsChatMessageTabMenu').wcfTabs 'refresh'
|
||||
WCF.System.FlexibleMenu.rebuild $('#timsChatMessageTabMenu > .tabMenu').attr 'id'
|
||||
|
||||
do $('#timsChatUpload').parent().hide
|
||||
else
|
||||
$('#timsChatTopic > .topic').text roomList.active.topic
|
||||
if roomList.active.topic.trim() is '' or hiddenTopics[roomList.active.roomID]?
|
||||
$('#timsChatTopic').addClass 'invisible'
|
||||
else
|
||||
$('#timsChatTopic').removeClass 'invisible'
|
||||
|
||||
|
||||
do $('#timsChatUpload').parent().show
|
||||
|
||||
$('.timsChatMessageContainer').removeClass 'active'
|
||||
$("#timsChatMessageContainer#{userID}").addClass 'active'
|
||||
$("#timsChatMessageTabMenuAnchor#{userID}").parent().removeClass 'notify'
|
||||
|
Loading…
Reference in New Issue
Block a user