Margins in chat & proper QR code url

This commit is contained in:
Nicolas A. Tonne
2015-07-18 17:00:45 +02:00
parent 7c937b4201
commit 18067dd2e4
3 changed files with 4 additions and 3 deletions

View File

@@ -312,6 +312,7 @@ hide mdi-action-visibility mdi-action-visibility-off
#channelchat, #all_chat{
height: calc(100vh - 193px);
margin: 0px 5px;
}
#chatchannel, #chatall {

File diff suppressed because one or more lines are too long

View File

@@ -13,7 +13,7 @@ var Hostcontroller = {
began = false;
old_id = id;
}
var codeURL = "//"+window.location.hostname+"/remote/"+id;
var codeURL = "http://"+window.location.hostname+"/remote/"+id;
$("#code-text").text(id)
$("#code-qr").attr("src", "https://chart.googleapis.com/chart?chs=221x221&cht=qr&choe=UTF-8&chld=L|1&chl="+codeURL);
$("#code-link").attr("href", codeURL);