1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-12-22 21:40:08 +00:00

Fix empty topic boxes

This commit is contained in:
Maximilian Mader 2014-02-27 20:43:54 +01:00
parent 2a0dd00875
commit cbcdc7c236
2 changed files with 6 additions and 6 deletions

View File

@ -825,9 +825,9 @@ Joins a room.
$('#timsChatTopic > .topic').text currentRoom.topic
if currentRoom.topic.trim() is ''
$('#timsChatTopic').addClass 'empty'
$('#timsChatTopic').addClass 'invisible'
else
$('#timsChatTopic').removeClass 'empty'
$('#timsChatTopic').removeClass 'invisible'
$('.timsChatMessage').addClass 'unloaded'
@ -864,7 +864,7 @@ Open private channel
$('.timsChatMessageContainer').height $('.timsChatMessageContainer').height()
if userID isnt 0
$('#timsChatTopic').removeClass 'empty'
$('#timsChatTopic').removeClass 'invisible'
$('#timsChatTopic > .topic').html WCF.Language.get 'chat.global.privateChannelTopic', {username: userList.allTime[userID].username}
$('#timsChatMessageTabMenu').removeClass 'singleTab'
@ -890,9 +890,9 @@ Open private channel
else
$('#timsChatTopic > .topic').text currentRoom.topic
if currentRoom.topic.trim() is ''
$('#timsChatTopic').addClass 'empty'
$('#timsChatTopic').addClass 'invisible'
else
$('#timsChatTopic').removeClass 'empty'
$('#timsChatTopic').removeClass 'invisible'
$('.timsChatMessageContainer').removeClass 'active'
$("#timsChatMessageContainer#{userID}").addClass 'active'

View File

@ -212,7 +212,7 @@
border-color: @wcfContainerBorderColor;
> .timsChatText {
li {
> li {
border-style: solid;
border-width: 0 0 1px 0;
border-color: @wcfContainerBorderColor;