disable upload/download notifications
This commit is contained in:
parent
702a0a7eae
commit
d0c6a18363
2 changed files with 4 additions and 4 deletions
|
@ -20,6 +20,8 @@ function hexToArray(str) {
|
|||
}
|
||||
|
||||
function notify(str) {
|
||||
return str;
|
||||
/* TODO: enable once we have an opt-in ui element
|
||||
if (!('Notification' in window)) {
|
||||
return;
|
||||
} else if (Notification.permission === 'granted') {
|
||||
|
@ -29,6 +31,7 @@ function notify(str) {
|
|||
if (permission === 'granted') new Notification(str);
|
||||
});
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
function gcmCompliant() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue