Skip to content

Commit 30fa9dd

Browse files
authored
Minor code simplification (#83)
1 parent 4b993ed commit 30fa9dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

browser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const isOnline = async options => {
99
...options
1010
};
1111

12-
if (navigator && navigator.onLine === false) {
12+
if (navigator && !navigator.onLine) {
1313
return false;
1414
}
1515

0 commit comments

Comments
 (0)