Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

Fixed waypoint issue when scrolling back number doesn't count till the end #77

Open
flashblue opened this issue May 14, 2021 · 0 comments

Comments

@flashblue
Copy link

flashblue commented May 14, 2021

I added the following code to store counter data. Because, after scrolling the page, the counter wasn't count till the stored number.

if ($this.data("text")==undefined) {
$this.data("text", $this.text());
} else {
$this.text($this.data("text"));
}

var num = $this.text();

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant