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

New commits:
commit d0a0950c48ba6c0a00b908eae7af4c53a784d0f2
Author:     Pranam Lashkari <lpra...@collabora.com>
AuthorDate: Wed Sep 16 11:33:55 2020 +0530
Commit:     Andras Timar <andras.ti...@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.ti...@collabora.com>
    Reviewed-by: Andras Timar <andras.ti...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to