mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +00:00
Added shortid for server and unique id's for remote
This commit is contained in:
@@ -5,7 +5,7 @@ socket.on("id", function(id)
|
||||
{
|
||||
console.log("Unique remote control ID: " + id);
|
||||
var codeURL = "https://"+window.location.hostname+"/remote/"+id;
|
||||
$("#code-text").text(id.toUpperCase())
|
||||
$("#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);
|
||||
if(!began)
|
||||
|
||||
Reference in New Issue
Block a user