[Libreoffice-commits] online.git: Branch 'distro/collabora/co-4-2' - loleaflet/src

Pranam Lashkari (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 16 07:45:28 UTC 2020


 loleaflet/src/layer/tile/TileLayer.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d0a0950c48ba6c0a00b908eae7af4c53a784d0f2
Author:     Pranam Lashkari <lpranam at collabora.com>
AuthorDate: Wed Sep 16 11:33:55 2020 +0530
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Sep 16 09:44:43 2020 +0200

    leaflet: removed resolve thread option from impress
    
    Change-Id: I325ff47ea8961056e4fd23aa2c7f8c20113e0166
    Reviewed-on: https://gerrit.libreoffice.org/c/online/+/102829
    Tested-by: Andras Timar <andras.timar at collabora.com>
    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 bb8b905de..c178bdb34 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -253,7 +253,7 @@ L.TileLayer = L.GridLayer.extend({
 								that.onAnnotationRemove.call(that, options.$trigger.get(0).annotation._data.id);
 							}
 						},
-						removeThread: {
+						removeThread: that._docType !== 'text' ? undefined : {
 							name: _('Remove Thread'),
 							callback: function (key, options) {
 								that.onAnnotationRemoveThread.call(that, options.$trigger.get(0).annotation._data.id);


More information about the Libreoffice-commits mailing list