From 9b2c830ed4c3493e8f57b56037fcea13e2f0795a Mon Sep 17 00:00:00 2001 From: Nigel Nguyen Date: Sat, 3 Aug 2013 17:59:50 +1200 Subject: [PATCH] Update jquery.qrcode.js fixed issue with label not rendered correctly --- 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 798bcd1..15277b8 100644 --- a/src/jquery.qrcode.js +++ b/src/jquery.qrcode.js @@ -104,7 +104,7 @@ context.fillStyle = settings.fontcolor; context.font = font; - context.fillText($("#label").val(), sl*size, st*size + 0.75 * settings.mSize * size); + context.fillText(settings.label, sl*size, st*size + 0.75 * settings.mSize * size); }, drawBackgroundImage = function (qr, context, settings) {