loleaflet/src/map/Map.js |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b6dc37fadf5e24dd34d759e55fe82a0610cbcc92
Author: Henry Castro <hcas...@collabora.com>
Date:   Wed Apr 6 10:11:36 2016 -0400

    loleaflet: fix slide show when it is used "file://" scheme

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 995a113..a1a768d 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -49,7 +49,7 @@ L.Map = L.Evented.extend({
                L.Cursor.imagePath = options.cursorURL || 
L.Cursor.getCursorURL('cursors');
 
                if (options.webserver === undefined) {
-                       var protocol = window.location.protocol === 'file:' ? 
'http:' : window.location.protocol;
+                       var protocol = window.location.protocol === 'file:' ? 
'https:' : window.location.protocol;
                        options.webserver = 
options.server.replace(/^(ws|wss):/i, protocol);
                }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to