Re: [permissions] Version of the API that should be simple, extensible and ready for MVP. (#20)

> @@ -496,7 +517,7 @@
>      document.getElementById('chat-notification-button').disabled = (permission.status == 'denied');
>    }
>  
> -  navigator.permissions.query('notifications').then(function(result) {
> +  navigator.permissions.query({name:'notifications'}).then(function(result) {
>      updateNotificationButton(result);

Done.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/permissions/pull/20/files#r27517308

Received on Tuesday, 31 March 2015 20:04:37 UTC