From 5945717a55a510bc9db0f12a96363af06ab10071 Mon Sep 17 00:00:00 2001 From: liyuchun Date: Sat, 9 Oct 2021 15:22:57 +0800 Subject: [PATCH] * Fix bug #42859. --- www/js/my.full.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/my.full.js b/www/js/my.full.js index ef085c9a27..a1ba191b7f 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -674,7 +674,7 @@ function notifyMessage(data) } else if(Notification.permission != "denied") { - Notification.requestPermission(function(permission) + Notification.requestPermission().then(function(permission) { notify = new Notification("", {body:message, tag:'zentao', data:data}); });