main
Hugh Chen 2022-01-24 21:36:37 -08:00
rodzic e7f313c52a
commit 63cc654c78
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -180,11 +180,11 @@ function makeCode() {
return;
}
// Pad URL since we want more density
maxLength = 40;
if (url.length < maxLength) {
url += "?/" + "0".repeat(maxLength - url.length);
}
// // Pad URL since we want more density
// maxLength = 40;
// if (url.length < maxLength) {
// url += "?/" + "0".repeat(maxLength - url.length);
// }
// Generate URL bits
qrcode.makeCode(url);