I would think you could just delete el.style.transitionDuration to go back to the default duration defined on the class