From 0fc60c18219adbdcccad6e49080c75cd682ef7bd Mon Sep 17 00:00:00 2001 From: Norbert Renner Date: Sat, 28 May 2022 14:27:32 +0200 Subject: [PATCH] Work around iOS 3rd party browser download (#418) - use FileReader.readAsDataURL (for iOS Chromium) - add alternative Download from Server for now until proven in Prod and fixed in iOS Firefox (no i18n) - replace cloud icons as client-side now --- index.html | 27 ++++++++++++++++----------- js/Browser.js | 6 +++++- js/control/Export.js | 26 ++++++++++++++++++++++---- js/control/TrackStats.js | 3 +-- js/plugin/Routing.js | 3 +++ 5 files changed, 47 insertions(+), 18 deletions(-) diff --git a/index.html b/index.html index a68da4f..1bb74c6 100644 --- a/index.html +++ b/index.html @@ -64,7 +64,7 @@ data-i18n-options='{ "action": "$t(navbar.export-tooltip)", "key": "X" }' title="Export route" > - + Export @@ -88,7 +88,7 @@ }' title="Load route" > - + Load @@ -919,7 +925,6 @@ -