diff --git a/src/web/client/license_timer.html b/src/web/client/license_timer.html index 83a350c..7275fe3 100644 --- a/src/web/client/license_timer.html +++ b/src/web/client/license_timer.html @@ -85,11 +85,13 @@ if("Notification" in window) { if(Notification) { // prepared browser for using Notification if(Notification.permission === "granted") { + console.log("Notification - grated"); AddNotifyEventByNotification(timeLeft); return; } Notification.requestPermission(function (result) { + console.log("result : " + result); Notification.permission = result; if(result === "granted") { @@ -97,6 +99,7 @@ return; } + console.log("Notification - not grated : " + result); AddNotifyEventByAlert(timeLeft); }); } else { // not prepared browser for using Notification