Fix unused variables

This commit is contained in:
Aarni Koskela
2023-04-30 22:12:24 +03:00
parent 8ccc27127b
commit f6a40a2ffa
9 changed files with 14 additions and 21 deletions

View File

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