loleaflet/src/control/Control.Tabs.js | 1 - 1 file changed, 1 deletion(-)
New commits: commit 78eb362756e6b87d5e1022cbc9e9893efd227ca8 Author: Tamás Zolnai <tamas.zol...@collabora.com> AuthorDate: Mon Aug 3 07:34:33 2020 +0200 Commit: Tamás Zolnai <tamas.zol...@collabora.com> CommitDate: Mon Aug 3 13:58:49 2020 +0200 Fix "TypeError: Cannot read property 'target' of undefined" There is no item matches with this selector. It's actually '#spreadsheet-tab'. Since this line of code has no effect on the behavior, I just remove it. Change-Id: Ib7cb611cbae209a17035e7b228cd31d8e38cf5b6 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/99978 Tested-by: Jenkins Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zol...@collabora.com> diff --git a/loleaflet/src/control/Control.Tabs.js b/loleaflet/src/control/Control.Tabs.js index 06ccd043a..da0cad810 100644 --- a/loleaflet/src/control/Control.Tabs.js +++ b/loleaflet/src/control/Control.Tabs.js @@ -137,7 +137,6 @@ L.Control.Tabs = L.Control.extend({ L.DomEvent.on(tab, 'contextmenu', function(j) { return function() { this._tabForContextMenu = j; - $('spreadsheet-tab' + j).contextMenu(); }; }(i).bind(this)); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits