hide legend for QR Code size toggle when QR Code cannot be rendered
This commit is contained in:
parent
2493fd6465
commit
0cc9b8b13f
2 changed files with 6 additions and 5 deletions
|
|
@ -99,6 +99,7 @@ BR.ShareRoute = L.Class.extend({
|
|||
} catch (exception) {
|
||||
$('#share-qrcode-img').empty();
|
||||
$('#qrcode-buttons').hide();
|
||||
$('#qrcode-size-buttons').hide();
|
||||
if (exception.message === 'Too long data') {
|
||||
$('#qrcode-msg-too-long').show();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue