vendor/assets/javascripts/angular-animate.js in angularjs-rails-1.3.9 vs vendor/assets/javascripts/angular-animate.js in angularjs-rails-1.3.10
- old
+ new
@@ -1,7 +1,7 @@
/**
- * @license AngularJS v1.3.9
+ * @license AngularJS v1.3.10
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
(function(window, angular, undefined) {'use strict';
@@ -1873,10 +1873,10 @@
animateClose(element, className);
activeAnimationComplete();
return;
}
- if (!staggerTime && styles) {
+ if (!staggerTime && styles && Object.keys(styles).length > 0) {
if (!timings.transitionDuration) {
element.css('transition', timings.animationDuration + 's linear all');
appliedStyles.push('transition');
}
element.css(styles);