We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab722a commit 67ed13eCopy full SHA for 67ed13e
js13kpwa/app.js
@@ -31,7 +31,7 @@ if ('serviceWorker' in navigator) {
31
32
// Requesting permission for Notifications after clicking on the button
33
const button = document.getElementById('notifications');
34
-button.addEventListener('click', (e) => {
+button.addEventListener('click', () => {
35
Notification.requestPermission().then((result) => {
36
if (result === 'granted') {
37
randomNotification();
0 commit comments