mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-06 10:31:17 -08:00
Fix unused variables
This commit is contained in:
parent
8ccc27127b
commit
f6a40a2ffa
9 changed files with 14 additions and 21 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue