Channel topic

This commit is contained in:
Jeremy Zhang
2017-04-08 15:12:28 -07:00
parent 0509b44078
commit 62189811df
3 changed files with 16 additions and 2 deletions

View File

@ -8,7 +8,7 @@ min-height: calc(100vh - 80px);
}
footer {
position: fixed;
position: fixed;
bottom: 0;
left: 0;
right: 0;
@ -133,4 +133,11 @@ background-color: #546e7a;
font-variant: small-caps;
font-size: 15px;
color: #eceff1;
}
}
#channeltopic {
width: 80%;
margin-left: 30px;
margin-right: auto;
font-size: 85%;
}

View File

@ -155,6 +155,7 @@ function fill_channels(channels) {
$("#messagebox").prop('disabled', true);
$("#messagebox").prop('placeholder', "Messages is disabled in this channel.");
}
$("#channeltopic").text(chan.channel.topic);
}
}
}