]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
refactor: remove unused offsetWidth property 11696/head
authorDaniel Ruf <daniel@daniel-ruf.de>
Sat, 23 Feb 2019 21:58:11 +0000 (22:58 +0100)
committerDaniel Ruf <daniel@daniel-ruf.de>
Sat, 23 Feb 2019 21:58:11 +0000 (22:58 +0100)
js/foundation.util.motion.js

index f9e2976d83b8da89fa6d2f8f4759184757f13803..07e760cb5bb02014428f848f2d5d2c0e25d40a13 100644 (file)
@@ -77,7 +77,6 @@ function animate(isIn, element, animation, cb) {
 
   // Start the animation
   requestAnimationFrame(() => {
-    element[0].offsetWidth;
     element
       .css('transition', '')
       .addClass(activeClass);