Fix unknown var since 887a9fc7
This commit is contained in:
parent
367e0ba8a8
commit
ff482aedc8
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue