Improve chat button

This commit is contained in:
calzoneman 2013-05-17 13:36:58 -04:00
parent 8671edd106
commit 79ec535358
1 changed files with 3 additions and 3 deletions

View File

@ -1016,11 +1016,11 @@ function applyOpts() {
$("#videodiv").remove();
}
$("#chatbtn").remove();
if(USEROPTS.chatbtn) {
$("#chatline").removeClass("span5").addClass("span4")
.css("float", "left");
var btn = $("<button/>").addClass("btn span1")
var btn = $("<button/>").addClass("btn btn-block")
.text("Send")
.attr("id", "chatbtn")
.appendTo($("#chatdiv"));
btn.click(function() {
if($("#chatline").val().trim()) {