mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-12-29 19:05:05 +08:00
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