Improve announcements; remove debug console.log
This commit is contained in:
parent
8da604fd8a
commit
767cfdd76e
3 changed files with 6 additions and 2 deletions
|
|
@ -27,8 +27,10 @@ Callbacks = {
|
|||
},
|
||||
|
||||
announcement: function(data) {
|
||||
$("#announcerow").html("");
|
||||
$("#announcerow").css("display", "");
|
||||
var div = $("<div/>").addClass("alert")
|
||||
.insertAfter($(".row")[0]);
|
||||
.appendTo($("#announcerow"));
|
||||
$("<button/>").addClass("close pull-right").text("×")
|
||||
.appendTo(div)
|
||||
.click(function() { div.remove(); });
|
||||
|
|
|
|||
|
|
@ -53,6 +53,8 @@
|
|||
<h1 id="drinkcount"></h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row-fluid" id="announcerow" style="display: none">
|
||||
</div>
|
||||
<div class="row" id="main" style="margin-top: 20px;">
|
||||
<div class="span5" id="chatdiv">
|
||||
<p id="usercount"></p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue