Actions
Anomalie #627
closedbug when displaying animated raw value
Start date:
11/01/2016
Due date:
% Done:
100%
Estimated time:
1.00 h
Resolution:
Description
in dashboard/det.php file.
function animate_raw(obj) {
                var $this = obj;
                // console.log('data-value : ' + $this.attr('data-value'));
                  $({ Counter: 0 }).animate({ Counter: $this.attr('data-value') }, {
                        duration: getRandomInt(2000,4000),
                        easing: 'swing',
                        step: function () {
                           $this.text(Math.ceil(this.Counter) > $this.attr('data-value') ? number_f($this.attr('data-value')) : number_f(Math.ceil(this.Counter)));
                        }
                  });
            };
	see screenshot, Should display 94299

Files
Actions