mirror of https://github.com/calzoneman/sync.git
Fix polls not autoscrolling chat
This commit is contained in:
parent
ce99233596
commit
e45489b77c
|
@ -635,6 +635,7 @@ Callbacks = {
|
|||
var pollMsg = $("<div/>").addClass("poll-notify")
|
||||
.text(data.initiator + " opened a poll: \"" + data.title + "\"")
|
||||
.appendTo($("#messagebuffer"));
|
||||
$("#messagebuffer").scrollTop($("#messagebuffer").prop("scrollHeight"));
|
||||
var poll = $("<div/>").addClass("well active").prependTo($("#pollcontainer"));
|
||||
$("<button/>").addClass("close pull-right").text("×")
|
||||
.appendTo(poll)
|
||||
|
|
Loading…
Reference in New Issue