|
@@ -427,12 +427,12 @@ $(document).ready(function () {
|
|
|
*/
|
|
|
|
|
|
$(".qrcode").click(function () {
|
|
|
- // alert('QRCode Scanner Starting V2'); // test
|
|
|
+ alert('QRCode Scanner Starting V2'); // test
|
|
|
|
|
|
// scanCodeV2 call
|
|
|
liff.scanCodeV2().then(result => {
|
|
|
// e.g. result = { value: "Hello LIFF app!" }
|
|
|
- // alert(JSON.stringify(result)); // test
|
|
|
+ alert(JSON.stringify(result)); // test
|
|
|
$('#address').val(result.value);
|
|
|
}).catch(err => {
|
|
|
// alert(JSON.stringify(err)); // test
|