diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/css/shorten_result.css | 2 | ||||
-rw-r--r-- | public/js/shorten_result.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/public/css/shorten_result.css b/public/css/shorten_result.css index 39db788..71f8255 100644 --- a/public/css/shorten_result.css +++ b/public/css/shorten_result.css @@ -13,7 +13,7 @@ text-align: center; } -.qrCodeContainer { +.qr-code-container { display: none; width: 300px; height: 300px; diff --git a/public/js/shorten_result.js b/public/js/shorten_result.js index 402919e..e497843 100644 --- a/public/js/shorten_result.js +++ b/public/js/shorten_result.js @@ -10,8 +10,8 @@ $('.result-box').change(function () { }); -$('#generateQRCode').click(function () { - var container = $('.qrCodeContainer'); +$('#generate-qr-code').click(function () { + var container = $('.qr-code-container'); container.empty(); new QRCode(container.get(0), { text: original_link, |