From: Daniel Ruf Date: Sat, 23 Feb 2019 21:58:11 +0000 (+0100) Subject: refactor: remove unused offsetWidth property X-Git-Tag: v6.6.0~3^2~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F11696%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git refactor: remove unused offsetWidth property --- diff --git a/js/foundation.util.motion.js b/js/foundation.util.motion.js index f9e2976d8..07e760cb5 100644 --- a/js/foundation.util.motion.js +++ b/js/foundation.util.motion.js @@ -77,7 +77,6 @@ function animate(isIn, element, animation, cb) { // Start the animation requestAnimationFrame(() => { - element[0].offsetWidth; element .css('transition', '') .addClass(activeClass);