1
0
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:
Maximilian Mader 2014-06-21 21:24:57 +02:00
parent 6f9418e167
commit c6e776b668

View File

@ -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'