Commit 888cd8e8 authored by 神楽坂玲奈's avatar 神楽坂玲奈

smaller qrcode margin

parent 8d0c3525
......@@ -39,7 +39,7 @@ decode = (str)->
result += key.indexOf(char)
result
$('img#qrcode').attr('src', 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=' + encodeURIComponent(location.href))
$('img#qrcode').attr('src', 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chld=|0&chl=' + encodeURIComponent(location.href))
$('#name').html($.url().param('name'))
cards_encoded = $.url().param('cards')
......
......@@ -118,7 +118,7 @@
return result;
};
$('img#qrcode').attr('src', 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chl=' + encodeURIComponent(location.href));
$('img#qrcode').attr('src', 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chld=|0&chl=' + encodeURIComponent(location.href));
$('#name').html($.url().param('name'));
......
......@@ -26,7 +26,7 @@
<![endif]-->
<!-- Add your site or application content here -->
<img id="qrcode" src="http://google.com/">
<img id="qrcode" />
<div id="name"></div>
<dl id="deck"></dl>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment