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; }