Commit 637989e5 authored by 神楽坂玲奈's avatar 神楽坂玲奈

remove "inline" in qrcode

parent 744168f0
...@@ -74,7 +74,7 @@ decode = (str)-> ...@@ -74,7 +74,7 @@ decode = (str)->
name = $.url().param('name') name = $.url().param('name')
cards_encoded = $.url().param('cards') cards_encoded = $.url().param('cards')
$('img#qrcode').attr('src', 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chld=|0&chl=' + encodeURIComponent("http://my-card.in/decks/inline?name=#{name}&cards=#{cards_encoded}")) $('img#qrcode').attr('src', 'https://chart.googleapis.com/chart?chs=200x200&cht=qr&chld=|0&chl=' + encodeURIComponent("http://my-card.in/decks/?name=#{name}&cards=#{cards_encoded}"))
$('#name').html(name) $('#name').html(name)
$(document).ready -> $(document).ready ->
......
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