added comment
This commit is contained in:
parent
c6d457efbf
commit
5f4e2365a2
1 changed files with 1 additions and 1 deletions
|
|
@ -337,7 +337,7 @@ if (alertTime == "") {
|
||||||
alertTime = 2;
|
alertTime = 2;
|
||||||
document.cookie = "alertTime="+alertTime+"; path=/;"
|
document.cookie = "alertTime="+alertTime+"; path=/;"
|
||||||
}
|
}
|
||||||
|
// this is the code that makes the qr code at the very start
|
||||||
let tempURL = "http://" + document.location.href.split("/")[2] + "/?ip=" + ip;
|
let tempURL = "http://" + document.location.href.split("/")[2] + "/?ip=" + ip;
|
||||||
new QRCode(document.getElementById("qrcode"), {
|
new QRCode(document.getElementById("qrcode"), {
|
||||||
text: tempURL,
|
text: tempURL,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue