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

New commits:
commit 9141a5a31ce213316a0c113fdfffdbd27eb946fb
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Wed Jun 7 10:13:48 2017 +0530

    No need to specify the full path
    
    Moreover, its ideal to use the same URL to get this *-help.html file with
    which loleaflet.html is loaded, and not the one with 'dist' in it.
    
    Change-Id: I2e25f9a2ef41bb1d23fc09878b0726d6b4019cee
    (cherry picked from commit 00f4b4c0f2831c243439463b0e2378cb8a50d7b7)
    Reviewed-on: https://gerrit.libreoffice.org/40619
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/src/control/Toolbar.js b/loleaflet/src/control/Toolbar.js
index b5f68749..832abdb0 100644
--- a/loleaflet/src/control/Toolbar.js
+++ b/loleaflet/src/control/Toolbar.js
@@ -176,7 +176,7 @@ L.Map.include({
 
        showLOKeyboardHelp: function() {
                var w = window.innerWidth / 2;
-               $.get('/loleaflet/dist/loleaflet-help.html', function(data) {
+               $.get('loleaflet-help.html', function(data) {
                        vex.open({
                                content: data,
                                showCloseButton: true,
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to