From e5cac4fba0e9647809674e9e002ce70fd8232c9c Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Mon, 2 Jul 2012 14:49:07 +0200 Subject: [PATCH] Allows type autodetection up to level 40. --- src/jquery.qrcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jquery.qrcode.js b/src/jquery.qrcode.js index f6129b0..764d820 100644 --- a/src/jquery.qrcode.js +++ b/src/jquery.qrcode.js @@ -22,7 +22,7 @@ // is to long to be encoded. At the moment it should work with up to 271 characters. createBestQr = function (text) { - for (var type = 2; type <= 10; type += 1) { + for (var type = 2; type <= 40; type += 1) { try { return createQr(type, 'L', text); } catch (err) {}