From 6169d8cfcc789b962ed1ea7c2524caab6813a27f Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Mon, 4 Jul 2022 19:13:28 +0200 Subject: [PATCH] Correzione jscript: niente console log --- MP.Land/wwwroot/lib/qrHelper.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/MP.Land/wwwroot/lib/qrHelper.js b/MP.Land/wwwroot/lib/qrHelper.js index 5ddd7ceb..8c7e5439 100644 --- a/MP.Land/wwwroot/lib/qrHelper.js +++ b/MP.Land/wwwroot/lib/qrHelper.js @@ -1,11 +1,11 @@ function clearContent(elementID) { - console.log("Remove " + elementID); + //console.log("Remove " + elementID); document.getElementById(elementID).innerHTML = ""; } // gestione qrcode... da https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity-enable-qrcodes?view=aspnetcore-5.0 //var qrcode = new QRCode("qrCodeImg"); function displayQr(elementName, rawData) { - console.log("Add " + elementName); + //console.log("Add " + elementName); try { if (elementName != "" && rawData != "") { qrcode = new QRCode(document.getElementById(elementName), @@ -14,9 +14,6 @@ function displayQr(elementName, rawData) { width: 200, height: 200 }); - //qrcode = new QRCode(document.getElementById(elementName)); - //qrcode.clear(); - //qrcode.makeCode(rawData); } } catch