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

Mihai Varga mihai.varga at collabora.com
Thu Aug 20 07:36:20 PDT 2015


 loleaflet/dist/leaflet.css |    7 +++++--
 loleaflet/src/map/Map.js   |    6 +-----
 2 files changed, 6 insertions(+), 7 deletions(-)

New commits:
commit c3d0248819054d91d4fe457843338b186268ed69
Author: Mihai Varga <mihai.varga at collabora.com>
Date:   Thu Aug 20 17:23:02 2015 +0300

    loleaflet: fixed the iframe visibility

diff --git a/loleaflet/dist/leaflet.css b/loleaflet/dist/leaflet.css
index 7e045b3..0ec0399 100644
--- a/loleaflet/dist/leaflet.css
+++ b/loleaflet/dist/leaflet.css
@@ -69,7 +69,10 @@
 	-moz-user-select: none;
 	}
 
-.leaflet-pane         { z-index: 4; }
+.leaflet-pane {
+	z-index: 10;
+	position: relative;
+	}
 
 .leaflet-tile-pane    { z-index: 2; }
 .leaflet-overlay-pane { z-index: 4; }
@@ -678,7 +681,7 @@ a.leaflet-control-buttons:hover:first-child {
     width: 100%;
     height: 100%;
     z-index: 0;
-    visibility: hidden;
+    border: none;
 }
 
 .parts-preview {
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index eb2e4c7..c5a3cad 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -597,11 +597,7 @@ L.Map = L.Evented.extend({
 		L.DomEvent[onOff](this._textArea, 'copy keydown keypress keyup', this._handleDOMEvent, this);
 
 		if (this.options.trackResize) {
-			var target = window;
-			if (window.opener) {
-				target = this._resizeDetector.contentWindow;
-			}
-			L.DomEvent[onOff](target, 'resize', this._onResize, this);
+			L.DomEvent[onOff](this._resizeDetector.contentWindow, 'resize', this._onResize, this);
 		}
 	},
 


More information about the Libreoffice-commits mailing list