mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 07:10:30 +01:00
fix: remove includeUncontrolled as we are posting messages, and that only works with windows you control lol
This commit is contained in:
@@ -56,10 +56,7 @@ self.addEventListener('notificationclick', (event) => {
|
||||
// This looks to see if the current is already open and focuses if it is
|
||||
event.waitUntil(
|
||||
self.clients
|
||||
.matchAll({
|
||||
type: 'window',
|
||||
includeUncontrolled: true,
|
||||
})
|
||||
.matchAll({ type: 'window' })
|
||||
.then((clientList) => {
|
||||
// eslint-disable-next-line no-restricted-syntax
|
||||
for (const client of clientList) {
|
||||
|
||||
Reference in New Issue
Block a user