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
|
the route definition is too long. Removing some waypoints may help fit all data into the QR
|
||||||
Code.
|
Code.
|
||||||
</p>
|
</p>
|
||||||
<div id="qrcode-size-buttons">
|
<div id="qrcode-buttons">
|
||||||
<div class="mt-2"><small>QR Code Size:</small></div>
|
<div class="mt-2"><small>QR Code Size:</small></div>
|
||||||
<div
|
<div class="btn-group btn-group-xs" role="group" aria-label="Change size of QR Code">
|
||||||
id="qrcode-buttons"
|
|
||||||
class="btn-group btn-group-xs"
|
|
||||||
role="group"
|
|
||||||
aria-label="Change size of QR Code"
|
|
||||||
>
|
|
||||||
<button
|
<button
|
||||||
class="btn btn-secondary qrcode-size-button"
|
class="btn btn-secondary qrcode-size-button"
|
||||||
id="qrcode-create-small"
|
id="qrcode-create-small"
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,6 @@ BR.ShareRoute = L.Class.extend({
|
||||||
} catch (exception) {
|
} catch (exception) {
|
||||||
$('#share-qrcode-img').empty();
|
$('#share-qrcode-img').empty();
|
||||||
$('#qrcode-buttons').hide();
|
$('#qrcode-buttons').hide();
|
||||||
$('#qrcode-size-buttons').hide();
|
|
||||||
if (exception.message === 'Too long data') {
|
if (exception.message === 'Too long data') {
|
||||||
$('#qrcode-msg-too-long').show();
|
$('#qrcode-msg-too-long').show();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue