mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-08-03 10:50:23 +00:00
Fix unused variables
This commit is contained in:
@@ -9,7 +9,7 @@ onUiUpdate(function(){
|
||||
notificationButton = gradioApp().getElementById('request_notifications')
|
||||
|
||||
if(notificationButton != null){
|
||||
notificationButton.addEventListener('click', function (evt) {
|
||||
notificationButton.addEventListener('click', () => {
|
||||
Notification.requestPermission();
|
||||
},true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user