simplify hiding QR Code size buttons
This commit is contained in:
parent
0cc9b8b13f
commit
806675fc22
2 changed files with 2 additions and 8 deletions
|
|
@ -664,14 +664,9 @@
|
|||
the route definition is too long. Removing some waypoints may help fit all data into the QR
|
||||
Code.
|
||||
</p>
|
||||
<div id="qrcode-size-buttons">
|
||||
<div id="qrcode-buttons">
|
||||
<div class="mt-2"><small>QR Code Size:</small></div>
|
||||
<div
|
||||
id="qrcode-buttons"
|
||||
class="btn-group btn-group-xs"
|
||||
role="group"
|
||||
aria-label="Change size of QR Code"
|
||||
>
|
||||
<div class="btn-group btn-group-xs" role="group" aria-label="Change size of QR Code">
|
||||
<button
|
||||
class="btn btn-secondary qrcode-size-button"
|
||||
id="qrcode-create-small"
|
||||
|
|
|
|||
|
|
@ -99,7 +99,6 @@ 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