Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Fix example code in PageVisibility Notification demo #1409

Open
kohenkatz opened this issue Oct 13, 2015 · 0 comments
Open

Fix example code in PageVisibility Notification demo #1409

kohenkatz opened this issue Oct 13, 2015 · 0 comments

Comments

@kohenkatz
Copy link
Contributor

The code in the PageVisibility tutorial's demo for showing a notification if the page is hidden is using the old Chrome notifications API instead of the new standard API. The example should be updated so that it works in current browsers. (The old code hasn't worked since around Chrome 22.)

I already have a working version in http://jsfiddle.net/kohenkatz/b2vteudu/, and I can make that into a pull request if that will be accepted.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant