From 24a0c7c3dccb5005f5d2f0ee02a88a989870a922 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 6 Jul 2020 11:59:27 +0300 Subject: [PATCH] Return early in L.Map.showBusy() in the iOS app, too Change-Id: If4d76601ed618a2e52f3dd1a116d03835c2342e7 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/98194 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice Reviewed-by: Tor Lillqvist --- loleaflet/src/map/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index 0cd8f9282..b02638aaf 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -445,7 +445,7 @@ L.Map = L.Evented.extend({ }, showBusy: function(label, bar) { - if (window.ThisIsTheAndroidApp) + if (window.ThisIsTheAndroidApp || window.ThisIsTheiOSApp) return; // If document is already loaded, ask the toolbar widget to show busy