fix broken discord notifications after restart
This commit is contained in:
parent
58ecbbc6f4
commit
fa83e2d9a8
1 changed files with 4 additions and 0 deletions
|
@ -129,3 +129,7 @@ setInterval(() => {
|
||||||
document.getElementById("manage-streams-change-windows")?.remove();
|
document.getElementById("manage-streams-change-windows")?.remove();
|
||||||
document.querySelector(`[aria-label="Stream Settings"]`)?.remove();
|
document.querySelector(`[aria-label="Stream Settings"]`)?.remove();
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
|
// Fix for broken discord notifications after restart
|
||||||
|
// (https://github.com/maltejur/discord-screenaudio/issues/17)
|
||||||
|
Notification.requestPermission();
|
||||||
|
|
Loading…
Reference in a new issue