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,6 +993,8 @@ Open private channel
|
|||||||
$('#timsChatMessageTabMenu > .tabMenu > ul').append li
|
$('#timsChatMessageTabMenu > .tabMenu > ul').append li
|
||||||
$('#timsChatMessageTabMenu').wcfTabs 'refresh'
|
$('#timsChatMessageTabMenu').wcfTabs 'refresh'
|
||||||
WCF.System.FlexibleMenu.rebuild $('#timsChatMessageTabMenu > .tabMenu').attr 'id'
|
WCF.System.FlexibleMenu.rebuild $('#timsChatMessageTabMenu > .tabMenu').attr 'id'
|
||||||
|
|
||||||
|
do $('#timsChatUpload').parent().hide
|
||||||
else
|
else
|
||||||
$('#timsChatTopic > .topic').text roomList.active.topic
|
$('#timsChatTopic > .topic').text roomList.active.topic
|
||||||
if roomList.active.topic.trim() is '' or hiddenTopics[roomList.active.roomID]?
|
if roomList.active.topic.trim() is '' or hiddenTopics[roomList.active.roomID]?
|
||||||
@ -1000,6 +1002,8 @@ Open private channel
|
|||||||
else
|
else
|
||||||
$('#timsChatTopic').removeClass 'invisible'
|
$('#timsChatTopic').removeClass 'invisible'
|
||||||
|
|
||||||
|
do $('#timsChatUpload').parent().show
|
||||||
|
|
||||||
$('.timsChatMessageContainer').removeClass 'active'
|
$('.timsChatMessageContainer').removeClass 'active'
|
||||||
$("#timsChatMessageContainer#{userID}").addClass 'active'
|
$("#timsChatMessageContainer#{userID}").addClass 'active'
|
||||||
$("#timsChatMessageTabMenuAnchor#{userID}").parent().removeClass 'notify'
|
$("#timsChatMessageTabMenuAnchor#{userID}").parent().removeClass 'notify'
|
||||||
|
Loading…
Reference in New Issue
Block a user