Merge pull request #13 from appen-isen/arbre

J'ai toujours pas test
This commit is contained in:
Félix MARQUET
2023-11-08 18:39:29 +01:00
committed by GitHub

View File

@@ -14,11 +14,7 @@ else{
//Ask for notifications permission on page load
window.addEventListener('load', function() {
if (Notification.permission !== "granted") {
Notification.requestPermission().then(r => {
if(r !== "granted"){
console.error("Permission de notification refusée");
}
});
Notification.requestPermission();
}
});
}