[Libreoffice-commits] online.git: loleaflet/src
Henry Castro
hcastro at collabora.com
Wed Apr 13 19:33:32 UTC 2016
loleaflet/src/admin/Util.js | 3 ++-
loleaflet/src/map/handler/Map.SlideShow.js | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 0c6f9b06ed932151f38709d04f568163ca142fdf
Author: Henry Castro <hcastro at collabora.com>
Date: Wed Apr 13 15:34:12 2016 -0400
loleaflet: fix js lint errors
diff --git a/loleaflet/src/admin/Util.js b/loleaflet/src/admin/Util.js
index dd0cac1..d775762 100644
--- a/loleaflet/src/admin/Util.js
+++ b/loleaflet/src/admin/Util.js
@@ -24,8 +24,9 @@ var Util = Base.extend({
var res = '';
secs = parseInt(secs);
- if (isNaN(secs))
+ if (isNaN(secs)) {
return res;
+ }
if (secs >= 60) {
mins = Math.floor(secs / 60);
diff --git a/loleaflet/src/map/handler/Map.SlideShow.js b/loleaflet/src/map/handler/Map.SlideShow.js
index 4b32b97..14a8809 100644
--- a/loleaflet/src/map/handler/Map.SlideShow.js
+++ b/loleaflet/src/map/handler/Map.SlideShow.js
@@ -22,7 +22,7 @@ L.Map.SlideShow = L.Handler.extend({
this._map.off('slidedownloadready', this._onSlideDownloadReady, this);
},
- _onIframeLoaded: function (e) {
+ _onIframeLoaded: function () {
L.DomUtil.removeClass(this._slideShow, 'leaflet-slidshow-spinner');
},
More information about the Libreoffice-commits
mailing list