]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
removes delete statement from orbit destroy method, not needed due to improved unregi...
authorChris Oyler <chris@zurb.com>
Mon, 4 Jan 2016 23:33:24 +0000 (15:33 -0800)
committerChris Oyler <chris@zurb.com>
Mon, 4 Jan 2016 23:33:24 +0000 (15:33 -0800)
js/foundation.orbit.js

index 15262ca919de440057080cb786760e83bf819c96..3fa206e792a09da8e8b93087de731d1333bd28b8 100644 (file)
    * @function
    */
   Orbit.prototype.destroy = function(){
-    delete this.timer;
     this.$element.off('.zf.orbit').find('*').off('.zf.orbit').end().hide();
     Foundation.unregisterPlugin(this);
   };