Fix positioning and background color of new message indicator
This commit is contained in:
parent
23f39ab2f5
commit
3c5d36919b
7 changed files with 33 additions and 8 deletions
|
|
@ -1491,12 +1491,14 @@ function addChatMessage(data) {
|
|||
if (!newMessageDiv.length) {
|
||||
newMessageDiv = $("<div/>").attr("id", "newmessages-indicator")
|
||||
.insertBefore($("#chatline"));
|
||||
var bgHack = $("<span/>").attr("id", "newmessages-indicator-bghack")
|
||||
.appendTo(newMessageDiv);
|
||||
|
||||
$("<span/>").addClass("glyphicon glyphicon-chevron-down")
|
||||
.appendTo(newMessageDiv);
|
||||
$("<span/>").text("New Messages Below").appendTo(newMessageDiv);
|
||||
.appendTo(bgHack);
|
||||
$("<span/>").text("New Messages Below").appendTo(bgHack);
|
||||
$("<span/>").addClass("glyphicon glyphicon-chevron-down")
|
||||
.appendTo(newMessageDiv);
|
||||
.appendTo(bgHack);
|
||||
}
|
||||
|
||||
if (numRemoved > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue