From ff482aedc8f47ca521b180c6d0093240f421d17e Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Fri, 22 Feb 2019 21:46:25 +0100 Subject: [PATCH] Fix unknown var since 887a9fc7 --- umap/static/umap/js/umap.slideshow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/umap/static/umap/js/umap.slideshow.js b/umap/static/umap/js/umap.slideshow.js index 78f006d5..b24f6055 100644 --- a/umap/static/umap/js/umap.slideshow.js +++ b/umap/static/umap/js/umap.slideshow.js @@ -91,7 +91,7 @@ L.U.Slideshow = L.Class.extend({ play: function () { if (this._id) return; if (this.map.editEnabled) return; - L.DomUtil.addClass(document.body, L.U.Slideshow.CL.USNAME); + L.DomUtil.addClass(document.body, L.U.Slideshow.CLASSNAME); this._id = window.setInterval(L.bind(this.loop, this), this.options.delay); this.resetSpinners(); this.loop(); @@ -104,7 +104,7 @@ L.U.Slideshow = L.Class.extend({ pause: function () { if (this._id) { - L.DomUtil.removeClass(document.body, L.U.Slideshow.CL.USNAME); + L.DomUtil.removeClass(document.body, L.U.Slideshow.CLASSNAME); window.clearInterval(this._id); this._id = null; }