loleaflet/src/control/Control.Menubar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit abb79a015efa4a5485afbef090a9370c0d0f21dd Author: Michael Meeks <michael.me...@collabora.com> AuthorDate: Thu Nov 7 19:08:15 2019 +0000 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Thu Nov 7 19:11:28 2019 +0000 Replace 'includes' with '$.inArray' for IE11 Change-Id: I91c0d392ff9e7e359beb9197a80fa61bfe229a3c diff --git a/loleaflet/src/control/Control.Menubar.js b/loleaflet/src/control/Control.Menubar.js index c9074e348..a02db71cf 100644 --- a/loleaflet/src/control/Control.Menubar.js +++ b/loleaflet/src/control/Control.Menubar.js @@ -1287,7 +1287,8 @@ L.Control.Menubar = L.Control.extend({ return false; } - if (this._hiddenItems && this._hiddenItems.includes(menuItem.id)) + if (this._hiddenItems && + $.inArray(menuItem.id, this._hiddenItems) !== -1) return false; return true; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits