From 0cc9b8b13f73dce4fe1832f00d3785e3e8ef9cad Mon Sep 17 00:00:00 2001 From: Marcus Jaschen Date: Thu, 18 May 2023 14:41:12 +0200 Subject: [PATCH 1/2] hide legend for QR Code size toggle when QR Code cannot be rendered --- index.html | 10 +++++----- js/control/ShareRoute.js | 1 + 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index 390f359..996ee2e 100644 --- a/index.html +++ b/index.html @@ -653,7 +653,7 @@

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.

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.

-
-
QR Code Size:
+
+
QR Code Size:
Date: Thu, 18 May 2023 14:47:58 +0200 Subject: [PATCH 2/2] simplify hiding QR Code size buttons --- index.html | 9 ++------- js/control/ShareRoute.js | 1 - 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 996ee2e..87a23cd 100644 --- a/index.html +++ b/index.html @@ -664,14 +664,9 @@ the route definition is too long. Removing some waypoints may help fit all data into the QR Code.

-
+
QR Code Size:
-
+