Commit 3099553
authored
Should fix when the device is in sleep mode
Hello.
I have a problem when my laptop is in sleep, after waking up I see an error connecting to the Internet. I found out that when this condition is met,
my page starts to reload, but since the laptop is in sleep mode, then it does not have access to the Internet, respectively.
I found a solution to this problem in correcting this part of the code
When I added setTimeout I stopped getting infinite page reload and further connection error. Now my page reloads when my laptop wakes up.1 parent 9023b3b commit 3099553
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
31 | 33 | | |
32 | 34 | | |
33 | 35 | | |
| |||
0 commit comments