diff --git a/lib/OpenLayers/Tween.js b/lib/OpenLayers/Tween.js index f799df3c72..a23deba48a 100644 --- a/lib/OpenLayers/Tween.js +++ b/lib/OpenLayers/Tween.js @@ -148,12 +148,7 @@ OpenLayers.Tween = OpenLayers.Class({ } if (this.time > this.duration) { - if (this.callbacks && this.callbacks.done) { - this.callbacks.done.call(this, this.finish); - this.playing = false; - } - window.clearInterval(this.interval); - this.interval = null; + this.stop(); } },