Setup: Only display one QR code at a time

This commit is contained in:
Ken Powers 2020-03-24 16:27:12 -04:00 committed by Scott Nonnenberg
parent 2852b0b92c
commit cbc670e855
2 changed files with 17 additions and 16 deletions

View file

@ -144,6 +144,7 @@
return;
}
this.clearQR();
this.$('#qr .container').hide();
this.qr = new QRCode(this.$('#qr')[0]).makeCode(url);
this.$('#qr').removeAttr('title');