diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-01 11:46:57 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-01 11:46:57 +0000 |
| commit | 8e7f3ea074d16a6c89fa7366a1f64302724f661f (patch) | |
| tree | 40e151399cfb1d9a3afd8576e05173a33a90b03f /src/sw.js | |
| parent | d0a09480b396e05d58957d193490e14a4ed12ccf (diff) | |
| parent | bd5d5c9df7e39efa7ecbb1bbfbd036906d1e9535 (diff) | |
Merge branch 'eslint-update' into 'develop'
update ESLint
See merge request pleroma/pleroma-fe!1576
Diffstat (limited to 'src/sw.js')
| -rw-r--r-- | src/sw.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -57,8 +57,8 @@ self.addEventListener('notificationclick', (event) => { event.notification.close() event.waitUntil(getWindowClients().then((list) => { - for (var i = 0; i < list.length; i++) { - var client = list[i] + for (let i = 0; i < list.length; i++) { + const client = list[i] if (client.url === '/' && 'focus' in client) { return client.focus() } } |
