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

Henry Castro hcastro at collabora.com
Wed May 18 22:33:13 UTC 2016


 loleaflet/src/map/handler/Map.SlideShow.js |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 5a455e0d0a01ecad2e5113203cc2052a8b60ee17
Author: Henry Castro <hcastro at collabora.com>
Date:   Wed May 18 18:27:46 2016 -0400

    loleaflet: fix slide show focus

diff --git a/loleaflet/src/map/handler/Map.SlideShow.js b/loleaflet/src/map/handler/Map.SlideShow.js
index 14a8809..f1bb023 100644
--- a/loleaflet/src/map/handler/Map.SlideShow.js
+++ b/loleaflet/src/map/handler/Map.SlideShow.js
@@ -63,6 +63,7 @@ L.Map.SlideShow = L.Handler.extend({
 
 	_onSlideDownloadReady: function (e) {
 		this._slideShow.src = e.url + '?mime_type=image/svg%2Bxml';
+		this._slideShow.contentWindow.focus();
 	}
 });
 


More information about the Libreoffice-commits mailing list