We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ac6ec6 commit 6ff18baCopy full SHA for 6ff18ba
1 file changed
obj.js
@@ -2,7 +2,7 @@
2
3
/**
4
* obs.js uses the Navigator and Battery APIs to get realtime network and
5
- * battery status of your users’ device. You can use this information to
+ * battery status of your user’s device. You can use this information to
6
* adapt to their context, or send the data off to SpeedCurve with
7
* `obs-speedcurve.js`.
8
*/
@@ -100,9 +100,7 @@
100
101
// Listen out for network condition changes and rerun the function.
102
if (connection && typeof connection.addEventListener === 'function') {
103
- connection.addEventListener('change', refreshConnectionStatus, {
104
- passive: true
105
- });
+ connection.addEventListener('change', refreshConnectionStatus);
106
}
107
108
0 commit comments