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){
|
||||
notificationButton.addEventListener('click', () => {
|
||||
Notification.requestPermission();
|
||||
void Notification.requestPermission();
|
||||
},true);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user