mirror of https://github.com/calzoneman/sync.git
Show poll creator on hover of timestamp
This commit is contained in:
parent
fdab26b792
commit
a632a4cafa
|
@ -920,6 +920,7 @@ Callbacks = {
|
||||||
|
|
||||||
}
|
}
|
||||||
$("<span/>").addClass("label label-default pull-right").data('timestamp',data.timestamp).appendTo(poll)
|
$("<span/>").addClass("label label-default pull-right").data('timestamp',data.timestamp).appendTo(poll)
|
||||||
|
.attr('title', 'Poll opened by ' + data.initiator).data('initiator',data.initiator)
|
||||||
.text(new Date(data.timestamp).toTimeString().split(" ")[0]);
|
.text(new Date(data.timestamp).toTimeString().split(" ")[0]);
|
||||||
|
|
||||||
poll.find(".btn").attr("disabled", !hasPermission("pollvote"));
|
poll.find(".btn").attr("disabled", !hasPermission("pollvote"));
|
||||||
|
|
Loading…
Reference in New Issue