plibither8 / refined-hacker-news

✨ Hacker News, but refined — Interface tweaks and features to make the HN experience better
MIT License
808 stars 34 forks source link

Don't auto-refresh if internet connection is disrupted #4

Closed plibither8 closed 5 years ago

plibither8 commented 5 years ago

When internet connection is disrupted, auto refresh is not able to fetch new items and produces the following error:

Uncaught (in promise) TypeError: Failed to fetch

Check for active and working internet connection before attempting a fetch.