Skip to content

Prevent timer restarting on page refresh #203

Discussion options

You must be logged in to vote

@vydimitrov thanks for the feedback! In the end I found that it was a problem in my code... when the back browser button was clicked, the loading animation would appear. When I clicked cancel, the page would be re-rendered... and so the timer would re-start.

solution: I removed the loading animation and used nprogress instead.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vydimitrov
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants