We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pretty much as is doing here: https://github.com/sindresorhus/notifier-for-github/blob/f1facf697f07bc01a030da358c953e4df0155127/source/background.js#L120
Instead of always running the update function, I think it would be nice to check if navigator.onLine
update
navigator.onLine
firefox-github-notifier/background.js
Lines 5 to 6 in aef4672
just add the following on above if (!navigator.onLine) return; I guess.
if (!navigator.onLine) return;
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Pretty much as is doing here: https://github.com/sindresorhus/notifier-for-github/blob/f1facf697f07bc01a030da358c953e4df0155127/source/background.js#L120
Instead of always running the
update
function, I think it would be nice to check ifnavigator.onLine
firefox-github-notifier/background.js
Lines 5 to 6 in aef4672
just add the following on above
.if (!navigator.onLine) return;
I guessThe text was updated successfully, but these errors were encountered: