[Libreoffice-commits] online.git: loleaflet/src

Henry Castro hcastro at collabora.com
Thu May 24 14:35:46 UTC 2018


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

New commits:
commit cf31e5719337ff9802491310974a09acfd445066
Author: Henry Castro <hcastro at collabora.com>
Date:   Thu May 24 10:27:43 2018 -0400

    loleaflet: fixed js lint no-unused-vars
    
    Change-Id: Ib6bf85cd90dff0a8e5a0510630cb7cac7a51292f

diff --git a/loleaflet/src/layer/tile/GridLayer.js b/loleaflet/src/layer/tile/GridLayer.js
index 6a5b2c964..8a37a04dd 100644
--- a/loleaflet/src/layer/tile/GridLayer.js
+++ b/loleaflet/src/layer/tile/GridLayer.js
@@ -23,7 +23,7 @@ L.GridLayer = L.Layer.extend({
 	},
 
 	initialize: function (options) {
-		options = L.setOptions(this, options);
+		L.setOptions(this, options);
 	},
 
 	onAdd: function () {


More information about the Libreoffice-commits mailing list