diff index.html @ 8:e50d930b2af1

Use lowest error correction level
author nanaya <me@nanaya.pro>
date Fri, 06 Jul 2018 16:28:26 +0900
parents 896b7f28d3ad
children 5998f1f51877
line wrap: on
line diff
--- a/index.html	Fri Jul 06 16:28:00 2018 +0900
+++ b/index.html	Fri Jul 06 16:28:26 2018 +0900
@@ -85,7 +85,7 @@
     <script>
         var inputDom = document.getElementsByClassName("js-qr-input")[0]
         var outputDom = document.getElementsByClassName("js-qr-output")[0]
-        var qr = new QRCode(outputDom)
+        var qr = new QRCode(outputDom, { correctLevel: QRCode.CorrectLevel.L })
 
         var runTimeout = null
         var debouncedRefreshCode = function() {