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

Henry Castro hcastro at collabora.com
Fri Mar 3 01:34:37 UTC 2017


 loleaflet/src/layer/marker/Annotation.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ecd6747ebc0823359109938c8a4db13a071110f8
Author: Henry Castro <hcastro at collabora.com>
Date:   Thu Mar 2 21:35:20 2017 -0400

    loleaflet: append L.Annotation to popup pane
    
    Change-Id: I9ff4cf0b17c53a677625d5152e56e529482de094

diff --git a/loleaflet/src/layer/marker/Annotation.js b/loleaflet/src/layer/marker/Annotation.js
index a181e79..995087d 100644
--- a/loleaflet/src/layer/marker/Annotation.js
+++ b/loleaflet/src/layer/marker/Annotation.js
@@ -20,7 +20,7 @@ L.Annotation = L.Layer.extend({
 			this._initLayout();
 		}
 
-		map._panes.markerPane.appendChild(this._container);
+		map._panes.popupPane.appendChild(this._container);
 		this.update();
 	},
 
@@ -30,7 +30,7 @@ L.Annotation = L.Layer.extend({
 	},
 
 	onRemove: function (map) {
-		map._panes.markerPane.removeChild(this._container);
+		map._panes.popupPane.removeChild(this._container);
 		this._map = null;
 	},
 


More information about the Libreoffice-commits mailing list