Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (6 sloc) 294 Bytes
<div id="qrcode_div"></div>
<script>
var url = document.URL;
$('#qrcode_div').qrcode({'width':${size}, 'height':${size}, text: "${url}"});
$('canvas').css({'margin-left': 'auto', 'margin-right': 'auto', 'display': 'block', 'background-color': '#FFF', 'padding': '10px'});
</script>