From 380505695e55a7bc4ead8be337b79872a1537f4f Mon Sep 17 00:00:00 2001 From: randogoth Date: Sun, 21 May 2023 16:44:30 +0300 Subject: [PATCH] fix --- web/nfc-theme/static/geo.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/nfc-theme/static/geo.js b/web/nfc-theme/static/geo.js index 1afe416..5dfd7e2 100644 --- a/web/nfc-theme/static/geo.js +++ b/web/nfc-theme/static/geo.js @@ -74,6 +74,7 @@ function canvasFingerprint() { ctx.fillStyle = "rgba(102, 204, 0, 0.7)"; ctx.fillText(txt, 4, 17); src = canvas.toDataURL(); + var hash; for (i = 0; i < src.length; i++) { char = src.charCodeAt(i); hash = ((hash<<5)-hash)+char;