mirror of
https://github.com/timvisee/send.git
synced 2026-04-23 22:34:43 -04:00
Auto-format files using 'npm run format'
This commit is contained in:
@@ -24,12 +24,11 @@ function notify(str) {
|
||||
if (!('Notification' in window)) {
|
||||
return;
|
||||
} else if (Notification.permission === 'granted') {
|
||||
new Notification(str)
|
||||
new Notification(str);
|
||||
} else if (Notification.permission !== 'denied') {
|
||||
Notification.requestPermission(function(permission) {
|
||||
if (permission === 'granted')
|
||||
new Notification(str);
|
||||
})
|
||||
if (permission === 'granted') new Notification(str);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user