mirror of https://github.com/calzoneman/sync.git
Improve chat button
This commit is contained in:
parent
8671edd106
commit
79ec535358
|
@ -1016,11 +1016,11 @@ function applyOpts() {
|
||||||
$("#videodiv").remove();
|
$("#videodiv").remove();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$("#chatbtn").remove();
|
||||||
if(USEROPTS.chatbtn) {
|
if(USEROPTS.chatbtn) {
|
||||||
$("#chatline").removeClass("span5").addClass("span4")
|
var btn = $("<button/>").addClass("btn btn-block")
|
||||||
.css("float", "left");
|
|
||||||
var btn = $("<button/>").addClass("btn span1")
|
|
||||||
.text("Send")
|
.text("Send")
|
||||||
|
.attr("id", "chatbtn")
|
||||||
.appendTo($("#chatdiv"));
|
.appendTo($("#chatdiv"));
|
||||||
btn.click(function() {
|
btn.click(function() {
|
||||||
if($("#chatline").val().trim()) {
|
if($("#chatline").val().trim()) {
|
||||||
|
|
Loading…
Reference in New Issue