Mark Notification.requestPermission's retval as purposely ignored

This commit is contained in:
Aarni Koskela 2023-04-30 22:14:51 +03:00
parent f6a40a2ffa
commit b7269f781c

View File

@ -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);
} }
} }