8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 996c7a0 commit b041b66Copy full SHA for b041b66
src/ngAnimate/animate.js
@@ -290,9 +290,11 @@ angular.module('ngAnimate', ['ng'])
290
//so that all the animated elements within the animation frame
291
//will be properly updated and drawn on screen. This is
292
//required to perform multi-class CSS based animations with
293
- //Firefox. DO NOT REMOVE THIS LINE.
294
- var a = bod.offsetWidth + 1;
295
- 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
296
+ //TAKE YEARS AWAY FROM YOUR LIFE!
297
+ fn(bod.offsetWidth);
298
});
299
};
300
}])
0 commit comments