[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2-0' - loleaflet/src
Aron Budea (via logerrit)
logerrit at kemper.freedesktop.org
Fri Feb 28 15:37:03 UTC 2020
loleaflet/src/layer/tile/TileLayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 73b9d56999d9f7e53ef08fec7ef1ad80eb388d26
Author: Aron Budea <aron.budea at collabora.com>
AuthorDate: Wed Feb 26 21:10:37 2020 +0100
Commit: Andras Timar <andras.timar at collabora.com>
CommitDate: Fri Feb 28 16:36:39 2020 +0100
Replace 'includes' with '$.inArray' for IE11
Regression from 864749bb1681e352f3c6e63548f31d3ede63422a.
Change-Id: Ie4fdc673f9e08fbfce24220656380cc3e183da37
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89593
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Aron Budea <aron.budea at collabora.com>
(cherry picked from commit 1173d8df303670441bd8aee14bd75c29b18b422a)
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89576
Reviewed-by: Andras Timar <andras.timar at collabora.com>
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index c38e132d0..e9b5ed12b 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -1096,7 +1096,7 @@ L.TileLayer = L.GridLayer.extend({
var link = null;
var coords = null;
- if (textMsg.includes('coordinates')) {
+ if ($.inArray('coordinates', textMsg) !== -1) {
var coordpos = textMsg.indexOf(' coordinates');
link = textMsg.substring(18, coordpos);
coords = textMsg.substring(coordpos+12);
More information about the Libreoffice-commits
mailing list