[Libreoffice-commits] online.git: loleaflet/src
Aron Budea (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 26 21:13:23 UTC 2020
loleaflet/src/layer/tile/TileLayer.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 1173d8df303670441bd8aee14bd75c29b18b422a
Author: Aron Budea <aron.budea at collabora.com>
AuthorDate: Wed Feb 26 21:10:37 2020 +0100
Commit: Aron Budea <aron.budea at collabora.com>
CommitDate: Wed Feb 26 22:13:13 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>
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