mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Hide upload button while private channel is being active
This commit is contained in:
parent
6f9418e167
commit
c6e776b668
@ -993,6 +993,8 @@ 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]?
|
||||
@ -1000,6 +1002,8 @@ Open private channel
|
||||
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