loleaflet/reference.html | 2 +- loleaflet/src/map/Map.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-)
New commits: commit 88ca9dc89fef34b1930bdf6907207547553b575e Author: Marco Cecchetti <marco.cecche...@collabora.com> Date: Sat Feb 6 18:22:05 2016 +0100 loleaflet - L.Cursor.imagePath can be a relative path Change-Id: Ib4e2c88f580ebc6322427d6f950231b603c58186 diff --git a/loleaflet/reference.html b/loleaflet/reference.html index 6982cae..3d9a2fa 100644 --- a/loleaflet/reference.html +++ b/loleaflet/reference.html @@ -1530,7 +1530,7 @@ unexpected behaviour.</h4> <tr> <td><code><b>cursorURL</b></code></td> <td><code>String</code></td> - <td><code><span class="literal">'cursors'</span></code></td> + <td><code><span class="literal">undefined</span></code></td> <td>The path (local to the server) where custom cursor files are stored.</td> </tr> </table> diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js index f0d5798..99dc6a6 100644 --- a/loleaflet/src/map/Map.js +++ b/loleaflet/src/map/Map.js @@ -46,8 +46,7 @@ L.Map = L.Evented.extend({ this.setView(L.latLng(options.center), options.zoom, {reset: true}); } - options.cursorURL = options.cursorURL || 'cursors'; - L.Cursor.imagePath = L.Cursor.getCursorURL(options.cursorURL); + L.Cursor.imagePath = options.cursorURL || L.Cursor.getCursorURL('cursors'); if (options.webserver === undefined) { var protocol = window.location.protocol === 'file:' ? 'http:' : window.location.protocol; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits