mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-29 21:41:00 +00:00
Forgot to change the look of controller
This commit is contained in:
@@ -77,7 +77,6 @@ $('input[class=conf]').change(function()
|
|||||||
|
|
||||||
function pass_save()
|
function pass_save()
|
||||||
{
|
{
|
||||||
|
|
||||||
socket.emit('password', [CryptoJS.SHA256(document.getElementById("password").value).toString(), chan.toLowerCase(), guid]);
|
socket.emit('password', [CryptoJS.SHA256(document.getElementById("password").value).toString(), chan.toLowerCase(), guid]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ var id
|
|||||||
socket.on("id", function(id)
|
socket.on("id", function(id)
|
||||||
{
|
{
|
||||||
console.log("Unique remote control ID: " + id);
|
console.log("Unique remote control ID: " + id);
|
||||||
var codeURL = "http://"+window.location.hostname+"/remote/"+id;
|
var codeURL = "https://"+window.location.hostname+"/remote/"+id;
|
||||||
$("#code-text").text(id.toUpperCase())
|
$("#code-text").text(id.toUpperCase())
|
||||||
$("#code-qr").attr("src", "https://chart.googleapis.com/chart?chs=221x221&cht=qr&choe=UTF-8&chld=L|1&chl="+codeURL);
|
$("#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);
|
$("#code-link").attr("href", codeURL);
|
||||||
|
|||||||
Reference in New Issue
Block a user