Mark Notification.requestPermission's retval as purposely ignored
This commit is contained in:
parent
f6a40a2ffa
commit
b7269f781c
@ -10,7 +10,7 @@ onUiUpdate(function(){
|
|||||||
|
|
||||||
if(notificationButton != null){
|
if(notificationButton != null){
|
||||||
notificationButton.addEventListener('click', () => {
|
notificationButton.addEventListener('click', () => {
|
||||||
Notification.requestPermission();
|
void Notification.requestPermission();
|
||||||
},true);
|
},true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user