1$(window).scroll(function (event) {
2 var scroll = $(window).scrollTop();
3
4 if(scroll == 0)
5 setTimeout(function(){reInitCount();},500);
6});
7
8function reInitCount(){
9 $(".stat-count").each(function() {
10 $(this).html('0');
11 count($(this));
12 });
13}
14