Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions jquery.countup.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
/*!
* jquery.countup.js 1.0.3
* jquery.countup.js 1.0.4
*
* Copyright 2016, Adrián Guerra Marrero http://agmstudio.io @AGMStudio_io
* Released under the MIT License
*
* Date: Oct 27, 2016
* Date: Aug 28, 2020
*/
(function( $ ){
"use strict";
Expand Down Expand Up @@ -77,10 +77,13 @@

// Start the count up
setTimeout($this.data('counterup-func'),delay);

// Destroy waypoint so that it will be triggered only once
this.destroy();
};

// Perform counts when the element gets into view
$this.waypoint(counterUpper, { offset: '100%', triggerOnce: true });
$this.waypoint(counterUpper, { offset: '100%' });
});

};
Expand Down
2 changes: 1 addition & 1 deletion jquery.countup.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.