Skip to content

Commit

Permalink
Merge pull request #730 from mjaschen/fix/remove-text-artifacts-qrcod…
Browse files Browse the repository at this point in the history
…e-error

Hide legend for QR Code size toggle when QR Code cannot be rendered
  • Loading branch information
nrenner authored May 19, 2023
2 parents 2493fd6 + 806675f commit 7acdd86
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -653,25 +653,20 @@ <h4 class="modal-title" data-i18n="share.title">Share Route</h4>

<p class="alert alert-danger hide" id="qrcode-msg-too-long" data-i18n="qrcode.msg-too-long">
Cannot create QR Code: Route definition is too long. Removing some waypoints may help fit
all data into the QRCode.
all data into the QR Code.
</p>
<p
class="alert alert-danger hide"
id="qrcode-msg-unknown-error"
data-i18n="qrcode.msg-unknown-error"
>
Cannot create QR Code: An unknown error occurred. See the browser console for details. Maybe
the route definition is too long. Removing some waypoints may help fit all data into the
QRCode.
the route definition is too long. Removing some waypoints may help fit all data into the QR
Code.
</p>
<div>
<div class="pull-left mr-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 id="qrcode-buttons">
<div class="mt-2"><small>QR Code Size:</small></div>
<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"
Expand Down

0 comments on commit 7acdd86

Please sign in to comment.