(function ($, h5ai) { var $context, qrCodesSize, showQrCode = function ($a) { var absHref = $a.attr('href'), url = 'http://' + document.domain + absHref; $context.find('.qrcode').empty().qrcode({ render: Modernizr.canvas ? 'canvas' : 'div', width: qrCodesSize, height: qrCodesSize, color: '#333', text: url }); }, init = function () { qrCodesSize = h5ai.settings.qrCodesSize; if (!qrCodesSize) { return; } var hideTimeoutId = null; $context = $('