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 8f7514b commit 7c51cc0Copy full SHA for 7c51cc0
src/roundProgress.js
@@ -95,7 +95,7 @@ angular.module('angular-svg-round-progress')
95
96
var easingAnimation = service.animations[options.animation];
97
var startTime = new Date();
98
- var duration = parseInt(options.duration);
+ var duration = parseInt(options.duration) || 0;
99
var preventAnimation = (newValue > max && oldValue > max) || (newValue < 0 && oldValue < 0) || duration < 25;
100
101
var radius = options.radius;
0 commit comments