We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffbeb32 commit c55a494Copy full SHA for c55a494
src/ngAnimate/animate.js
@@ -432,9 +432,11 @@ angular.module('ngAnimate', ['ng'])
432
//so that all the animated elements within the animation frame
433
//will be properly updated and drawn on screen. This is
434
//required to perform multi-class CSS based animations with
435
- //Firefox. DO NOT REMOVE THIS LINE.
436
- var a = bod.offsetWidth + 1;
437
- fn();
+ //Firefox. DO NOT REMOVE THIS LINE. DO NOT OPTIMIZE THIS LINE.
+ //THE MINIFIER WILL REMOVE IT OTHERWISE WHICH WILL RESULT IN AN
+ //UNPREDICTABLE BUG THAT IS VERY HARD TO TRACK DOWN AND WILL
438
+ //TAKE YEARS AWAY FROM YOUR LIFE!
439
+ fn(bod.offsetWidth);
440
});
441
};
442
}])
0 commit comments